commit 86996b3bb3443898f902c7bce74f8b95248aabf7
parent 9aa055b620c0bd5946c4f1bb4e9039526d79439c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 30 Jul 2019 14:20:14 +0200
vim: abbreviations
Former-commit-id: 4927246f861a38ccbf2811259ec380a979c5dd02
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -473,6 +473,9 @@ cnoreabbrev Qall qall
cnoreabbrev E Explore
cnoreabbrev Colors XtermColorTable
cnoreabbrev lset setl
+cnoreabbrev sudow w !sudo tee > /dev/null %
+cnoreabbrev hg helpgrep
+
if has('terminal')
cnoreabbrev tt tab terminal
cnoreabbrev wt terminal
@@ -547,9 +550,6 @@ nnoremap k gk
vnoremap D :m '>+1<CR>gv=gv
vnoremap U :m '<-2<CR>gv=gv
-" stfu and write the file
-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>