如何在vim的标签列表末尾向上移动?

时间:2017-02-07 00:36:03

标签: vim ctags cscope

My VIM screenshot

当我按标签搜索符号并到达标签列表的末尾时,我无法再向上移动。因此,每当我想找到前面的符号时,我都必须再次点击标签搜索。特别是当需要长时间的工作时(例如,通过cscope找到greping symobol),这让我很烦恼。

有人知道如何在vim搜索中的标签列表末尾向上移动吗?

1 个答案:

答案 0 :(得分:0)

您是否尝试过:tp:tprev

:ts or :tselect shows the list
:tn or :tnext goes to the next tag in that list
:tp or :tprev goes to the previous tag in that list
:tf or :tfirst goes to the first tag of the list
:tl or :tlast goes to the last tag of the list

我在此网站找到了引用:https://andrew.stwrt.ca/posts/vim-ctags/

相关问题