mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
improve how :[Ww][Qq] are handled in vim
This commit is contained in:
parent
4ae65b6dd7
commit
224a97ecca
1 changed files with 3 additions and 12 deletions
15
vimrc
15
vimrc
|
@ -258,20 +258,11 @@ map Y y$
|
|||
" vK is stupid
|
||||
vmap K k
|
||||
|
||||
" W is annoying
|
||||
nmap :W :w
|
||||
|
||||
" Q is annoying
|
||||
nmap :Q :q
|
||||
|
||||
" WQ is annoying
|
||||
nmap :WQ :wq
|
||||
|
||||
" Wq is annoying
|
||||
nmap :Wq :wq
|
||||
" :W and :Q are annoying
|
||||
cmap W w
|
||||
|
||||
" just continue
|
||||
map K K<cr>
|
||||
nmap K K<cr>
|
||||
|
||||
" Toggle numbers with F12
|
||||
nmap <silent> <F12> :silent set number!<CR>
|
||||
|
|
Loading…
Add table
Reference in a new issue