commit bf98785a31afc1dc122540951fcab6dcd2efee1b
parent 85a93069415e424cd11a55c54896678a53a7d829
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 29 Jul 2019 23:25:15 +0200
vim: cnoremap to cnoreabbrev
I hate the fact that Vim waits when I type an s.
Former-commit-id: d95ff7a59ad796fb3885dfffb999b7409aab3e18
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -548,7 +548,7 @@ 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 %
+cnoreabbrev sudow w !sudo tee > /dev/null %
" and don't break my colours (U for 'unfuck my screen please')
nnoremap U :syntax sync fromstart<CR>:redraw!<CR>