After doing ', g g' (spacemacs/jump-to-definition) how do I get back?

时间:2017-10-08 07:52:54

标签: spacemacs

I did

, g g

to jump to the definition of same symbol under the point. Now I want to return to my previous file/position.

Is there a binding for that?

What is the binding in a default spacemacs installation?

1 个答案:

答案 0 :(得分:8)

您可以在正常模式下使用''(两个单引号)或使用ctrl + o

在第一种情况下,'表示“转到标记”,第二种'是临时标记寄存器,在任何跳转后自动设置。

在第二种情况下,您可以逐步跳回(因此您可以跳转到之前的缓冲区以及那里的所有动作)

相关问题