Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.21 KB | None | 0 0
  1. " move line/s
  2. nnoremap <A-k> :m .-2<CR>==
  3. nnoremap <A-j> :m .+1<CR>==
  4. inoremap <A-k> <Esc>:m .-2<CR>==gi
  5. inoremap <A-j> <Esc>:m .+1<CR>==gi
  6. vnoremap <A-j> :m '>+1<CR>gv=gv
  7. vnoremap <A-k> :m '<-2<CR>gv=gv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement