As far as I understand, there is no way to run .vimrc from atom in vim-mode-plus, but I can still use atoms way of binding keys using keymap.cson. How can I move the keys H-J-K-L one key right (J-K-L-Ø, since I have a Norwegian keyboard) using keymap.cson?
Asked
Active
Viewed 529 times
0
-
I don't think the VIM tag is appropriate here? – axwr Jun 26 '17 at 23:26
1 Answers
1
You can add maps like this in keymap.cson:
'atom-text-editor.vim-mode-plus:not(.insert-mode)':
'J': 'vim-mode-plus:move-left'
'K': 'vim-mode-plus:move-down'
'L': 'vim-mode-plus:move-up'
'Ø': 'vim-mode-plus:move-right'

Dan Lowe
- 51,713
- 20
- 123
- 112
-
Nice, thanks! Btw the right part should be in a string though. – Knut Anders Stokke Jun 27 '17 at 09:42
-