0

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?

Martin Tournoij
  • 26,737
  • 24
  • 105
  • 146

1 Answers1

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