ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Navigation History

by timjrobinson ST2

SublimeText 2/3 Navigation History - jump forward and back around your code.

Details

  • 2015.07.05.15.06.12
  • github.​com
  • github.​com
  • 4 years ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 3K
  • Win 1K
  • OS X 1K
  • Linux 640
Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Navigation History

A Sublime Text plugin to jump forward and back around your code. This tracks your cursor position over time and allows you to navigate to where it was previously. So if you are jumping into function definitions or other files you can easily jump back to where you were before.

Installation

ST2

  1. Install package control if you haven't already http://wbond.net/sublime_packages/package_control).
  2. Search for package “Sublime Navigation History”
  3. Install and enjoy.

ST3

This plugin is no longer needed for ST3, as of build 3019 Navigation History has been natively added via the new Jump Back and Jump Forward commands. They are called “jump_back” and “jump_forward” and you can add them to your key bindings (Preferences -> Key Bindings - User) with the following snippet:

{ “keys”: [“ctrl+alt+left”], “command”: “jump_back” }, { “keys”: [“ctrl+alt+right”], “command”: “jump_forward” }

Controls

OSX * Command + Control + Alt + Left - Navigate Backwards * Command + Control + Alt + Right - Navigate Forwards

Windows / Linux * Control + Alt + Left - Navigate Backwards * Control + Alt + Right - Navigate Forwards

Issues

This plugin does not track small navigation changes such as moving one line or character, this is so it's easier to go back to the last big block of code you were working on and moving one line or character backwards via a hotkey is not something most users want to do.

This does not track your scroll position, only where your cusor was placed.

Credits

This was not originally created by me, it was created by Martin Aspeli (https://github.com/optilude) and came from this forum thread: http://www.sublimetext.com/forum/viewtopic.php?f=5&t=2738

I'm hosting this repository to keep it updated for Sublime Text 3 and also to add it to Package Control (because everyone should have access to such an awesome plugin).