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
  • 1 hour ago
  • 7 years ago

Installs

  • Total 3K
  • Win 1K
  • OS X 1K
  • Linux 640
Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22
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 0 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 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

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).