commit 37b94616f3f6265bde87d078116d48888f4d8f58
parent a35f5f9762b9db2fbcb4432cefcbeccc152de518
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 11 Aug 2021 17:16:24 +0200
vim: make screen cleanup mapping more intuitive
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -799,7 +799,9 @@ 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 <leader>U :syntax sync fromstart<CR>:redraw!<CR>
+nnoremap <leader><c-l> :syntax sync fromstart<CR>:redraw!<CR>:diffupdate<CR><c-l>
+
+" urlview
nnoremap <silent> U :w !urlview<CR>
" 'zoom to head level'