diff options
author | Teddy Wing | 2020-02-26 00:52:19 +0100 |
---|---|---|
committer | Teddy Wing | 2020-02-26 00:55:21 +0100 |
commit | a6d256cab3d24f091cb672580b6ef0fedf76c0cb (patch) | |
tree | 05f615c75c0dadb5fa1125b74ae9eab8758c6cab /vimrc | |
parent | 7a06e3db5d7a47a05558dd6557f23e665cc26c39 (diff) | |
download | dotvim-a6d256cab3d24f091cb672580b6ef0fedf76c0cb.tar.bz2 |
vimrc: Add `<C-w>e` mapping to open the current buffer in a new tab
Diffstat (limited to 'vimrc')
-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> |