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 5f76cace04
commit ae855ed967
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -253,11 +253,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 %