如何跳到Sublime Text 3中的上一个和最后一个光标? [英] How to jump to previous and last cursor in Sublime Text 3?

查看:629
本文介绍了如何跳到Sublime Text 3中的上一个和最后一个光标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我google很多,找到 BufferScroll 。但它不适合我。我可以'找到任何捷径或如何在文件中使用它。
更新:

每当我尝试使用Jump Forward(Shift + Alt + Minus)时,我的编辑器总是会说已处于最新位置,而实际上不在最新的位置.Jump Back(Alt + Minus)效果不错。

解决方案

光标位置历史记录,然后在Sublime Text 3中通过GoTo菜单内置或键盘快捷键:


跳回和跳转 - 跳转允许您转到之前的
编辑位置。这与Goto定义并行:您现在可以检查符号定义,然后快速跳回到以前的
位置。跳回默认绑定为 Alt +减号
菜单条目为Goto> Jump Back


有些插件可用于ST2,例如 navigationHistory


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.

解决方案

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.

这篇关于如何跳到Sublime Text 3中的上一个和最后一个光标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆