commit 06741a9774544d020ac8b0448e8b807de3c0e677
parent 6f720a554adb53e7c551cbc6f863714cae48d69f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 2 Dec 2019 12:45:05 -0500
vim: limit U/D binding to visual mode, not select
Former-commit-id: 761602b23e0e7c9823580e479c0bf3df77f30943
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -690,8 +690,8 @@ nnoremap gj j
nnoremap gk k
" Move visual block
-vnoremap D :m '>+1<CR>gv=gv
-vnoremap U :m '<-2<CR>gv=gv
+xnoremap D :m '>+1<CR>gv=gv
+xnoremap U :m '<-2<CR>gv=gv
" and don't break my colours (U for 'unfuck my screen please')
nnoremap U :syntax sync fromstart<CR>:redraw!<CR>