How to jump to previous and last cursor in Sublime

2019-03-07 18:48发布

问题:

I google a lot and find BufferScroll.But it doesn't work for me.I can't find any shortcut or how to use it in the document. Update:

Every time I try to use Jump Forward(Shift+Alt+Minus),my editor always says "Already at the newest position" while actually not in the newest position.Jump Back(Alt+Minus) works well.

回答1:

If you mean jumping back and forward through the cursor position history, then in Sublime Text 3 it's built in via the GoTo menu or keyboard shortcuts:

Jump Back and Jump Forward – Jump Back allows you to go to previous editing positions. This goes hand in hand with Goto Definition: you can now inspect a symbol definition, and quickly jump back to where you were previously. Jump Back is bound to Alt+Minus by default. The menu entry is Goto > Jump Back

There are plugins available for ST2, for example navigationHistory.