nvim: bindings to edit/reload config
This commit is contained in:
parent
bf67766374
commit
7ebcff5557
@ -18,6 +18,11 @@ Plug 'https://github.com/tpope/vim-sleuth' " heuristically set buffer options
|
|||||||
Plug 'https://github.com/vim-airline/vim-airline' " fancy statusline
|
Plug 'https://github.com/vim-airline/vim-airline' " fancy statusline
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
" Quickly edit/reload this configuration file
|
||||||
|
" To return to previous file, type ':edit #'
|
||||||
|
nnoremap gev :edit $MYVIMRC<Return>
|
||||||
|
nnoremap gsv :source $MYVIMRC<Return>
|
||||||
|
|
||||||
" hide line numbers at startup, toggle with F2
|
" hide line numbers at startup, toggle with F2
|
||||||
set nonumber norelativenumber
|
set nonumber norelativenumber
|
||||||
nnoremap <silent> <F2> :set number! relativenumber!<Return>
|
nnoremap <silent> <F2> :set number! relativenumber!<Return>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user