Move line up/down
Inspired by cmd+opt+[
/ cmd+opt+]
in Xcode
In .vimrc
nnoremap <C-J> ddp==
nnoremap <C-K> ddkP==
Written by dm4
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#