mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
add abbrevs for common typos
This commit is contained in:
12
vimrc
12
vimrc
@@ -236,6 +236,18 @@ vnoremap <silent> <Leader>0 :!node<cr>
|
||||
nnoremap + <c-a>
|
||||
nnoremap - <c-x>
|
||||
|
||||
"" abbreviations
|
||||
cnoreabbrev W! w!
|
||||
cnoreabbrev Q! q!
|
||||
cnoreabbrev Qall! qall!
|
||||
cnoreabbrev Wq wq
|
||||
cnoreabbrev Wa wa
|
||||
cnoreabbrev wQ wq
|
||||
cnoreabbrev WQ wq
|
||||
cnoreabbrev W w
|
||||
cnoreabbrev Q q
|
||||
cnoreabbrev Qall qall
|
||||
|
||||
" session management
|
||||
nnoremap <leader>so :OpenSession<Space>
|
||||
nnoremap <leader>ss :SaveSession<Space>
|
||||
|
||||
Reference in New Issue
Block a user