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

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 640
May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
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
Mac 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).