-
Notifications
You must be signed in to change notification settings - Fork 0
/
_xremap
32 lines (29 loc) · 868 Bytes
/
_xremap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
window class_only: 'standard notes' do
remap 'C-b', to: 'Left'
remap 'C-f', to: 'Right'
remap 'C-p', to: 'Up'
remap 'C-n', to: 'Down'
remap 'C-h', to: 'BackSpace'
remap 'C-a', to: 'Home'
remap 'C-e', to: 'End'
remap 'C-k', to: ['Shift-End', 'Ctrl-x']
remap 'C-d', to: 'Delete'
end
window class_only: [
'google-chrome',
'google-chrome-beta',
'google-chrome-unstable',
'brave-browser',
'Brave-browser',
'crx_ngboffpgmgciiinnflnkgedmbalfkeeg'
] do
# Tab move
remap 'C-Shift-bracketright', to: 'Ctrl-Page_Down'
remap 'C-Shift-bracketleft', to: 'Ctrl-Page_Up'
# History move
remap 'C-bracketright', to: 'Alt-Right'
remap 'C-bracketleft', to: 'Alt-Left'
# Mouse -> xbindkeys -> Tab move
remap 'Shift-Page_Up', to: 'Ctrl-Shift-Tab'
remap 'Shift-Page_Down', to: 'Ctrl-Tab'
end