mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Open nvim config in a different tab
This commit is contained in:
parent
b9119d2212
commit
4715b8fee6
@ -127,7 +127,7 @@ inoremap <expr> <cr> ((pumvisible())?("\<C-Y>"):("\<cr>"))
|
|||||||
inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
|
inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
|
||||||
|
|
||||||
" Edit and reload init.vim quickly
|
" Edit and reload init.vim quickly
|
||||||
nnoremap <silent> <leader>ev :edit $MYVIMRC<cr>
|
nnoremap <silent> <leader>ev :tabnew $MYVIMRC <bar> tcd %:h<cr>
|
||||||
nnoremap <silent> <leader>sv :silent update $MYVIMRC <bar> source $MYVIMRC <bar>
|
nnoremap <silent> <leader>sv :silent update $MYVIMRC <bar> source $MYVIMRC <bar>
|
||||||
\ echomsg "Nvim config successfully reloaded!"<cr>
|
\ echomsg "Nvim config successfully reloaded!"<cr>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user