1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

vim: add wqa and fat-finger aliases

This commit is contained in:
Joe Groocock 2018-03-31 21:54:08 +01:00
parent 93e11c73f8
commit 776e641ed0
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -250,11 +250,13 @@ if (exists("g:use_dvorak") && g:use_dvorak == 1)
endif
" Save aliases.
noremap <Leader>q :wq<CR>
com! W w
com! Q q
com! Wq wq
com! WQ wq
com! Wqa wqa
com! WQa wqa
com! WQA wqa
" Write with sudo
cmap w!! w !sudo tee > /dev/null %