Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Alt to move lines up and down:
- nnoremap <A-k> :m .-2<CR>==
- nnoremap <A-j> :m .+1<CR>==
- inoremap <A-k> <Esc>:m .-2<CR>==gi
- inoremap <A-j> <Esc>:m .+1<CR>==gi
- vnoremap <A-j> :m '>+1<CR>gv=gv
- vnoremap <A-k> :m '<-2<CR>gv=gv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement