commit 4e060242dae8e3cbfa28fd976ed15d62d0f1fdd0
parent bbb2f9e5001abfa8306785289ec6a91bfe3480c7
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 23 Apr 2019 19:02:53 +0200
vim non-conflicting line move mappings
Former-commit-id: 8b53dc76c28828ea4f9b81798b00012477ced708
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -27,8 +27,8 @@ vnoremap < <gv
vnoremap > >gv
" Move visual block
-vnoremap J :m '>+1<CR>gv=gv
-vnoremap K :m '<-2<CR>gv=gv
+vnoremap D :m '>+1<CR>gv=gv
+vnoremap U :m '<-2<CR>gv=gv
" stfu and write the file
cnoremap sudow w !sudo tee > /dev/null %