mirror of
https://github.com/k0kubun/xremap
synced 2024-11-08 01:10:28 +00:00
17 lines
425 B
Ruby
17 lines
425 B
Ruby
window class_not: 'urxvt' do
|
|
# emacs-like bindings
|
|
remap 'C-b', to: 'Left'
|
|
remap 'C-f', to: 'Right'
|
|
remap 'C-p', to: 'Up'
|
|
remap 'C-n', to: 'Down'
|
|
|
|
remap 'C-a', to: 'Home'
|
|
remap 'C-e', to: 'End'
|
|
|
|
remap 'C-k', to: ['Shift-End', 'Ctrl-x']
|
|
|
|
# actually these are vim insert mode bindings, but compatible with shell
|
|
remap 'C-u', to: ['Shift-Home', 'Ctrl-x']
|
|
remap 'C-w', to: ['Ctrl-Shift-Left', 'Ctrl-x']
|
|
end
|