Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

move a line up/down in vim

noremap <C-Up> ddkP // Moving the line up

noremap <C-Up> ddjP // Moving the line down
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #move #line #vim
ADD COMMENT
Topic
Name
4+7 =