matze / vim-move

Plugin to move lines and selections up and down
http://www.vim.org/scripts/script.php?script_id=4687
MIT License
1.21k stars 56 forks source link

Use something other than h,j,k,l for movement #13

Closed nobleach closed 9 years ago

nobleach commented 9 years ago

I've looking into using something other than the default movement keys. I didn't know if this was already on your radar or not. I'd love to use my arrow keys as I'd rather use CTRL+J/CTRL+K for more used purposes.

vitalk commented 9 years ago

Disable default keys and bind your own via defined <Plug> mappings:

let g:move_map_keys = 0
vmap <C-j> <Plug>MoveBlockDown

See :h move-mappings for list of available mappings.

nobleach commented 9 years ago

Beautiful, thanks.