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:
parent
5f76cace04
commit
ae855ed967
@ -253,11 +253,13 @@ if (exists("g:use_dvorak") && g:use_dvorak == 1)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Save aliases.
|
" Save aliases.
|
||||||
noremap <Leader>q :wq<CR>
|
|
||||||
com! W w
|
com! W w
|
||||||
com! Q q
|
com! Q q
|
||||||
com! Wq wq
|
com! Wq wq
|
||||||
com! WQ wq
|
com! WQ wq
|
||||||
|
com! Wqa wqa
|
||||||
|
com! WQa wqa
|
||||||
|
com! WQA wqa
|
||||||
" Write with sudo
|
" Write with sudo
|
||||||
cmap w!! w !sudo tee > /dev/null %
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user