diff options
-rw-r--r-- | vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -455,6 +455,9 @@ " 2020.02.24: " * Add `<leader>cF` mapping to copy the absolute path of a file. " +" 2020.02.25: +" * Add `<C-w>e` mapping to open the current buffer in a new tab. +" " Pathogen @@ -784,6 +787,9 @@ nnoremap <leader>tl :execute "tabnext " . g:last_viewed_tab<cr> nnoremap <C-w>q <nop> nnoremap <C-w><C-q> <nop> +" Open the current buffer in a new tab +nnoremap <C-w>e :tabedit %<cr> + " Quickfix nnoremap ]q :cnext<cr> nnoremap [q :cprevious<cr> |