Add some keybindings to emacs_like.rb

This commit is contained in:
Eugene 2018-05-23 21:35:46 +03:00 committed by GitHub
parent 194e1d4be0
commit 8415b8058a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,15 @@ window class_not: 'urxvt' do
remap 'C-d', to: 'Delete'
remap 'M-d', to: 'Ctrl-Delete'
remap 'M-w', to: 'Ctrl-c'
remap 'C-y', to: 'Ctrl-v'
remap 'C-w', to: 'Ctrl-x'
remap 'C-v', to: 'Page_Down'
remap 'M-v', to: 'Page_Up'
remap 'C-s', to: 'Ctrl-f'
# actually these are vim insert mode bindings, but compatible with shell
remap 'C-u', to: ['Shift-Home', 'Ctrl-x']