iTerm dynamic profile for tmux keys

osd-dev
Petr Nyc 3 years ago
parent f1e23726ca
commit 6424413fa6
  1. 4
      .tmux.conf
  2. 65
      Library/Application Support/iTerm2/DynamicProfiles/dynamic_profile.json

@ -36,8 +36,8 @@ bind C-a send-prefix
# vi copy mode # vi copy mode
set -g mode-keys vi set -g mode-keys vi
bind Escape copy-mode bind Escape copy-mode
unbind p # unbind p
bind p paste-buffer # bind p paste-buffer
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection bind-key -T copy-mode-vi 'y' send-keys -X copy-selection
bind-key -T copy-mode-vi 'c-v' send-keys -X rectangle-toggle bind-key -T copy-mode-vi 'c-v' send-keys -X rectangle-toggle

@ -0,0 +1,65 @@
{
"Profiles": [
{
"Name": "tmux keys",
"Guid": "A443EFA8-953E-4B85-9ABE-793EBF2A5496",
"Dynamic Profile Parent Name": "Default",
"Keyboard Map" : {
"0x31-0x80000-0x12" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 31",
"Label" : ""
},
"0x32-0x80000-0x13" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 32",
"Label" : ""
},
"0x33-0x80000-0x14" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 33",
"Label" : ""
},
"0x34-0x80000-0x15" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 34",
"Label" : ""
},
"0x35-0x80000-0x17" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 35",
"Label" : ""
},
"0x36-0x80000-0x16" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 36",
"Label" : ""
},
"0x37-0x80000-0x1a" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 37",
"Label" : ""
},
"0x38-0x80000-0x1c" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 38",
"Label" : ""
},
"0x39-0x80000-0x19" : {
"Version" : 1,
"Action" : 11,
"Text" : "01 39",
"Label" : ""
}
}
}
]
}
Loading…
Cancel
Save