vim:keys: Add binds to move lines and reindent

This commit is contained in:
2021-07-22 15:59:16 +02:00
parent 77b2d63341
commit 4364625bf5

View File

@@ -113,3 +113,9 @@ endif
" Y should behave like D & C does
nnoremap Y y$
" Move lines up and down while correcting the indentation
nnoremap <A-Up> ddkP==
nnoremap <A-Down> ddp==
vmap <A-Up> dkPgp=gv
vmap <A-Down> dpgp=gv