1
0
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:
jdhao 2019-11-30 22:14:01 +08:00
parent b9119d2212
commit 4715b8fee6

View File

@ -127,7 +127,7 @@ inoremap <expr> <cr> ((pumvisible())?("\<C-Y>"):("\<cr>"))
inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
" 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>
\ echomsg "Nvim config successfully reloaded!"<cr>