vim-move
vim-move copied to clipboard
Out-of-box keymaps for moving are not working
Hello!
After installing the plugin, I noticed that the Alt-j, Alt-k, Alt-h, Alt-l combinations are not working at all neither in Insert mode, nor in Normal mode. Can you please support?
Are you on MacOS by chance?
Are you on MacOS by chance?
@matze No, I use Win10.
@matze Do you have any idead on why it is not working?
Same happening with me and I am on Mac @matze
For anyone who still has issue, this can help. Insert this lines in .vimrc file:
execute "set <M-j>=\ej" nnoremap <M-j> j execute "set <M-k>=\ek" nnoremap <M-k> k execute "set <M-h>=\eh" nnoremap <M-h> h execute "set <M-l>=\el" nnoremap <M-l> l
https://vi.stackexchange.com/questions/2350/how-to-map-alt-key
For anyone who still has issue, this can help. Insert this lines in .vimrc file:
execute "set =\ej" nnoremap j execute "set =\ek" nnoremap k execute "set =\eh" nnoremap h execute "set =\el" nnoremap l
https://vi.stackexchange.com/questions/2350/how-to-map-alt-key
this works! thanks