Opening (c)tags in new tab in (G)Vim

Opening (c)tags in new tab in (G)Vim

Ctrl+w Ctrl+i and :stj is nice, but how do I jump to a tag (under the cursor) in a new tab in GVim/Vim?

VIM substitution: Using the current line as the search string


VIM browser plugin to execute commands on files
Similar question
VIM: store output of external command into a register
It points out this wiki (which points back at stackoverflow) with these settings (seems to work ok in terminal, haven't tried gvim):.
How can I create a mapping with control and a function key in Vim?
"-------------------- " Function: Open tag under cursor in new tab " Source: "-------------------- map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR> "-------------------- " Function: Remap keys to make it more similar to firefox tab functionality " Purpose:  Because I am familiar with firefox tab functionality "-------------------- map     <C-T>       :tabnew<CR> map     <C-N>       :!gvim &<CR><CR> map     <C-W>       :confirm bdelete<CR> 

vim: delete display lines instead of physical lines

88 out of 100 based on 58 user ratings 1258 reviews