From 826f256c0d505ea50607cf96c026d27de47a9b8e Mon Sep 17 00:00:00 2001 From: Vonng Date: Tue, 13 Apr 2021 10:12:45 +0800 Subject: [PATCH] rev 3.0.3 fix bugs * fix typoe leflt * fix invalid character in Hyper Terminal --- mac/capslock.json | 60 +++++++++++++++++++++++++++++++++++++------- mac_v3/capslock.json | 14 ++++------- mac_v3/capslock.yml | 15 ++++++----- 3 files changed, 63 insertions(+), 26 deletions(-) diff --git a/mac/capslock.json b/mac/capslock.json index 00608ef..154079a 100644 --- a/mac/capslock.json +++ b/mac/capslock.json @@ -1,7 +1,7 @@ { "title": "Capslock Enhancement", "url": "https://vonng.com/capslock.json", - "version": "3.0.1", + "version": "3.0.3", "maintainers": [ "Vonng" ], @@ -4394,7 +4394,7 @@ "key_code": "tab", "modifiers": [ "left_command", - "lelft_shift" + "left_shift" ] } ] @@ -4743,7 +4743,7 @@ "key_code": "tab", "modifiers": [ "left_control", - "lelft_shift" + "left_shift" ] } ] @@ -5262,9 +5262,7 @@ }, "to": [ { - "key_code": "f5" - }, - { + "key_code": "f5", "modifiers": [ "left_control" ] @@ -5311,9 +5309,7 @@ }, "to": [ { - "key_code": "f5" - }, - { + "key_code": "f5", "modifiers": [ "left_shift" ] @@ -5342,6 +5338,52 @@ ] } ] + }, + { + "description": "v = ctrl-v", + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "description": "b = ctrl-b", + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "b", + "modifiers": [ + "left_control" + ] + } + ] } ] }, diff --git a/mac_v3/capslock.json b/mac_v3/capslock.json index a254d57..154079a 100644 --- a/mac_v3/capslock.json +++ b/mac_v3/capslock.json @@ -1,7 +1,7 @@ { "title": "Capslock Enhancement", "url": "https://vonng.com/capslock.json", - "version": "3.0.2", + "version": "3.0.3", "maintainers": [ "Vonng" ], @@ -4394,7 +4394,7 @@ "key_code": "tab", "modifiers": [ "left_command", - "lelft_shift" + "left_shift" ] } ] @@ -4743,7 +4743,7 @@ "key_code": "tab", "modifiers": [ "left_control", - "lelft_shift" + "left_shift" ] } ] @@ -5262,9 +5262,7 @@ }, "to": [ { - "key_code": "f5" - }, - { + "key_code": "f5", "modifiers": [ "left_control" ] @@ -5311,9 +5309,7 @@ }, "to": [ { - "key_code": "f5" - }, - { + "key_code": "f5", "modifiers": [ "left_shift" ] diff --git a/mac_v3/capslock.yml b/mac_v3/capslock.yml index 0f8b0d8..9e9e934 100644 --- a/mac_v3/capslock.yml +++ b/mac_v3/capslock.yml @@ -1,7 +1,7 @@ --- title: Capslock Enhancement url: https://vonng.com/capslock.json -version: 3.0.2 +version: 3.0.3 maintainers: [ Vonng ] author: Vonng(rh@vonng.com) website: http://capslock.vonng.com @@ -1142,7 +1142,7 @@ rules: - description: 'command tab = alter app rev' type: basic from: { key_code: tab, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } - to: [ { key_code: tab , modifiers: [ left_command,lelft_shift ] } ] + to: [ { key_code: tab , modifiers: [ left_command,left_shift ] } ] - description: 'tab = alter app' type: basic @@ -1166,7 +1166,7 @@ rules: type: basic from: { key_code: q, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } to: [ { key_code: q , modifiers: [ left_command ] } ] - # to: [ { key_code: escape , modifiers: [ left_command,lelft_option ] } ] # TODO: May not work + # to: [ { key_code: escape , modifiers: [ left_command,left_option ] } ] # TODO: May not work - description: 'q = close app' type: basic @@ -1191,7 +1191,7 @@ rules: type: basic from: { key_code: w, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } to: [ { key_code: w , modifiers: [ left_command ] } ] - # to: [ { key_code: w , modifiers: [ left_command,lelft_option ] } ] # TODO: May not work + # to: [ { key_code: w , modifiers: [ left_command,left_option ] } ] # TODO: May not work - description: 'w = close tab' type: basic @@ -1236,7 +1236,7 @@ rules: - description: 'command + s = alter tab sheet rev' type: basic from: { key_code: s, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } - to: [ { key_code: tab , modifiers: [ left_control,lelft_shift ] } ] + to: [ { key_code: tab , modifiers: [ left_control,left_shift ] } ] - description: 's = alter tab sheet' type: basic @@ -1403,7 +1403,7 @@ rules: - description: 'command + x = ctrl + F5 (vscode run)' type: basic from: { key_code: x, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } - to: [ { key_code: f5 } , modifiers: [ left_control ] ] + to: [ { key_code: f5 , modifiers: [ left_control ] } ] - description: 'x = ctrl-r' type: basic @@ -1416,7 +1416,7 @@ rules: - description: 'command + c = shift + F5 (vscode stop)' type: basic from: { key_code: c, modifiers: { mandatory: [ left_command, right_command,right_control,right_shift,right_option ] } } - to: [ { key_code: f5 } , modifiers: [ left_shift ] ] + to: [ { key_code: f5 , modifiers: [ left_shift ] } ] - description: 'c = ctrl-c' type: basic @@ -1444,7 +1444,6 @@ rules: - ################################################################ # Hyper Clipboard # ################################################################