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
  • 5 years ago
  • 3 hours ago
  • 7 years ago

Installs

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