Move vim F1-F4 mappings to separate file
This commit is contained in:
parent
4415f562ac
commit
6737784ac6
2 changed files with 5 additions and 4 deletions
|
@ -586,10 +586,6 @@ nnoremap <C-a> Ea <esc>a
|
||||||
" This one does nothing, but I'm adding it to remember not to remap the tab key
|
" This one does nothing, but I'm adding it to remember not to remap the tab key
|
||||||
nnoremap <tab> <C-S-I>
|
nnoremap <tab> <C-S-I>
|
||||||
nnoremap <S-tab> <C-S-O>
|
nnoremap <S-tab> <C-S-O>
|
||||||
noremap <F1> :setl number!<CR>
|
|
||||||
noremap <F2> :setl relativenumber!<CR>
|
|
||||||
noremap <F3> :setl autowriteall!<CR>:setl autowriteall?<CR>
|
|
||||||
noremap <F4> :setl list!<CR>
|
|
||||||
nnoremap <C-e> ge
|
nnoremap <C-e> ge
|
||||||
nnoremap <C-E> gE
|
nnoremap <C-E> gE
|
||||||
com! SetWD :cd %:p:h
|
com! SetWD :cd %:p:h
|
||||||
|
|
5
vim/plugin/status.vim
Normal file
5
vim/plugin/status.vim
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
noremap <F1> :setl number!<CR>
|
||||||
|
noremap <leader><F1> :setl relativenumber!<CR>
|
||||||
|
noremap <f2> :let &laststatus=!&laststatus*2<CR>
|
||||||
|
noremap <F3> :setl autowriteall!<CR>:setl autowriteall?<CR>
|
||||||
|
noremap <F4> :setl list!<CR>
|
Loading…
Reference in a new issue