Map :w to <F12>
This commit is contained in:
parent
628e676714
commit
35a4e11c1a
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -24,6 +24,7 @@ endif
|
||||||
nmap <space> <leader>
|
nmap <space> <leader>
|
||||||
|
|
||||||
inoremap <C-BS> <C-W>
|
inoremap <C-BS> <C-W>
|
||||||
|
inoremap <F12> <C-\><C-O>:w<CR>
|
||||||
inoremap <down> <nop>
|
inoremap <down> <nop>
|
||||||
inoremap <left> <nop>
|
inoremap <left> <nop>
|
||||||
inoremap <right> <nop>
|
inoremap <right> <nop>
|
||||||
|
@ -31,6 +32,7 @@ inoremap <up> <nop>
|
||||||
|
|
||||||
nnoremap <F10> :put =strftime('%FT%T%z')<CR>
|
nnoremap <F10> :put =strftime('%FT%T%z')<CR>
|
||||||
nnoremap <F11> :Goyo<bar>:Limelight!!<CR>
|
nnoremap <F11> :Goyo<bar>:Limelight!!<CR>
|
||||||
|
nnoremap <F12> :w<CR>
|
||||||
nnoremap <F7> :setlocal spell! spelllang=en_gb<CR>
|
nnoremap <F7> :setlocal spell! spelllang=en_gb<CR>
|
||||||
nnoremap <down> <nop>
|
nnoremap <down> <nop>
|
||||||
nnoremap <left> <nop>
|
nnoremap <left> <nop>
|
||||||
|
|
Loading…
Reference in a new issue