mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
add keybinds for vim on windows and proper gvim and proper vim
This commit is contained in:
parent
154020d459
commit
a93da1c695
1 changed files with 10 additions and 0 deletions
10
vimrc
10
vimrc
|
@ -255,6 +255,16 @@ endif
|
||||||
" just continue
|
" just continue
|
||||||
nmap K K<cr>
|
nmap K K<cr>
|
||||||
|
|
||||||
|
" tabs
|
||||||
|
map <C-S-Tab> :tabprevious<CR>
|
||||||
|
imap <C-S-Tab> <Esc>:tabprevious<CR>i
|
||||||
|
|
||||||
|
map <C-Tab> :tabnext<CR>
|
||||||
|
imap <C-Tab> <Esc>:tabnext<CR>i
|
||||||
|
|
||||||
|
nmap <C-t> :tabnew<CR>
|
||||||
|
imap <C-t> <Esc>:tabnew<CR>i
|
||||||
|
|
||||||
" Toggle numbers with F12
|
" Toggle numbers with F12
|
||||||
nmap <silent> <F12> :silent set number!<CR>
|
nmap <silent> <F12> :silent set number!<CR>
|
||||||
imap <silent> <F12> <C-O>:silent set number!<CR>
|
imap <silent> <F12> <C-O>:silent set number!<CR>
|
||||||
|
|
Loading…
Add table
Reference in a new issue