Skip to content

Commit

Permalink
v3.0.2 fix vim/tmux prefix key
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Apr 4, 2021
1 parent a790e2a commit 23746c5
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
48 changes: 47 additions & 1 deletion mac_v3/capslock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Capslock Enhancement",
"url": "https://vonng.com/capslock.json",
"version": "3.0.1",
"version": "3.0.2",
"maintainers": [
"Vonng"
],
Expand Down Expand Up @@ -5342,6 +5342,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"
]
}
]
}
]
},
Expand Down
11 changes: 10 additions & 1 deletion mac_v3/capslock.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Capslock Enhancement
url: https://vonng.com/capslock.json
version: 3.0.1
version: 3.0.2
maintainers: [ Vonng ]
author: Vonng([email protected])
website: http://capslock.vonng.com
Expand Down Expand Up @@ -1427,11 +1427,20 @@ rules:
# ( v ) --> Vim Prefix Meta Key #
#==========================================================#
# - description: 'v = vim meta key'
- 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 ] } ]


#==========================================================#
# ( b ) --> Tmux Prefix Meta Key #
#==========================================================#
# - description: 'b = tmux meta key'
- 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 ] } ]



Expand Down

0 comments on commit 23746c5

Please sign in to comment.