How to jump previous or next position in Sublime Text 2

keyboard shortcutssublime-text-2

I want to jump to the previous (or next) position in Sublime Text 2.

  • C-i, C-o in vim.
  • Ctrl-, Ctrl= in Visual Studio.

How can I do it in Sublime?

Best Answer

There's a plugin, described here, that adds navigation history.

Copy the Python script in your Packages directory.

Then add these lines to your key bindings configuration file, to have Visual Studio like binding:

{ "keys": ["ctrl+minus"], "command": "navigation_history_back"},
{ "keys": ["ctrl+="], "command": "navigation_history_forward"}
Related Question