Ctrl w Ctrl i和:stj是好的,但是如何在GVim / Vim的新选项卡中跳到标签(在光标下)?
类似的问题
How to use multiple tabs when tagging to a function in Vim
原文链接:https://www.f2er.com/bash/386697.html它指出this wiki(which points back at stackoverflow)与这些设置(似乎在终端工作正常,没有尝试过gvim):
"-------------------- " Function: Open tag under cursor in new tab " Source: https://stackoverflow.com/questions/563616/vimctags-tips-and-tricks "-------------------- 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>