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
|
" vK is stupid
|
||||||
vmap K k
|
vmap K k
|
||||||
|
|
||||||
" W is annoying
|
" :W and :Q are annoying
|
||||||
nmap :W :w
|
cmap W w
|
||||||
|
|
||||||
" Q is annoying
|
|
||||||
nmap :Q :q
|
|
||||||
|
|
||||||
" WQ is annoying
|
|
||||||
nmap :WQ :wq
|
|
||||||
|
|
||||||
" Wq is annoying
|
|
||||||
nmap :Wq :wq
|
|
||||||
|
|
||||||
" just continue
|
" just continue
|
||||||
map K K<cr>
|
nmap K K<cr>
|
||||||
|
|
||||||
" Toggle numbers with F12
|
" Toggle numbers with F12
|
||||||
nmap <silent> <F12> :silent set number!<CR>
|
nmap <silent> <F12> :silent set number!<CR>
|
||||||
|
|
Loading…
Add table
Reference in a new issue