The documentation isn't especially clear—CTRL+T is to jump back in the tag stack, whereas CTRL+O is to jump back to the previous cursor position. What's the difference between CTRL+T and CTRL+O? They both appear to exhibit the same behavior.
文档并不是特别清晰的,CTRL+T是返回到标签堆栈中,而CTRL+O则是跳转回原来的光标位置。CTRL+T和CTRL+O有什么区别?它们都表现出相同的行为。
1 个解决方案
#1
39
CTRL-T is working with tags stack
CTRL-T使用标签栈。
CTRL-O is working with jumplist
CTRL-O与jumplist一起工作。
Tag stack and jumplist are different list in vim, but they might have same items when you jumping through tags (eg. using CTRL-])
标签栈和jumplist在vim中是不同的列表,但是当你通过标签跳转时,它们可能会有相同的条目。使用CTRL -])
#1
39
CTRL-T is working with tags stack
CTRL-T使用标签栈。
CTRL-O is working with jumplist
CTRL-O与jumplist一起工作。
Tag stack and jumplist are different list in vim, but they might have same items when you jumping through tags (eg. using CTRL-])
标签栈和jumplist在vim中是不同的列表,但是当你通过标签跳转时,它们可能会有相同的条目。使用CTRL -])