diff options
| author | jdhao <jdhao@hotmail.com> | 2019-11-30 22:14:01 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2019-11-30 22:14:01 +0800 |
| commit | 4715b8fee6297c115f8f8e8ad82c0dd8ec9b5062 (patch) | |
| tree | 6876345d9cd9d867127879c97964af335ad48999 /mappings.vim | |
| parent | b9119d2212a74123b9ef991bc088fc34edfc9412 (diff) | |
Open nvim config in a different tab
Diffstat (limited to 'mappings.vim')
| -rw-r--r-- | mappings.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mappings.vim b/mappings.vim index 62319a5..b699801 100644 --- a/mappings.vim +++ b/mappings.vim @@ -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> |
