no vim, I do not want you to :help me every time I miss esc and press f1
This commit is contained in:
parent
5c03646108
commit
aae26f7a8c
1 changed files with 5 additions and 0 deletions
5
vimrc
5
vimrc
|
@ -38,6 +38,11 @@ map <Space> <NOP>
|
||||||
let mapleader="\<Space>"
|
let mapleader="\<Space>"
|
||||||
" no more F1
|
" no more F1
|
||||||
noremap <F1> <Esc>
|
noremap <F1> <Esc>
|
||||||
|
xnoremap <F1> <Esc>
|
||||||
|
snoremap <F1> <Esc>
|
||||||
|
inoremap <F1> <Esc>
|
||||||
|
lnoremap <F1> <Esc>
|
||||||
|
cnoremap <F1> <Esc>
|
||||||
" some toggles
|
" some toggles
|
||||||
nnoremap <Leader>n :setlocal number!<CR>
|
nnoremap <Leader>n :setlocal number!<CR>
|
||||||
nnoremap <Leader>l :setlocal list!<CR>
|
nnoremap <Leader>l :setlocal list!<CR>
|
||||||
|
|
Loading…
Reference in a new issue