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

Edit History

by Stuk ST2

Deprecated, see ST3 note – Navigate back and forward between edit locations in the current file.

Details

  • 2013.04.13.00.37.35
  • github.​com
  • github.​com
  • 12 years ago
  • 1 hour ago
  • 13 years ago

Installs

  • Total 44K
  • Win 41K
  • Mac 2K
  • Linux 931
Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 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
Windows 0 1 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 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

Edit History

Sublime Text 3 note: This functionality is included by default (as Jump Back and Jump Forward), and so this plugin is not needed any more. Thanks for using it!

Navigate back and forward between edit locations in the current file.

“Rules”

  • A new edit location is only created if it is greater than 5 lines away from the previous saved edit location. ( number customizable via settings file )
  • When you go back to a point and then create a new edit location all the “future” locations are cleared, as in a web-browser.

Commands

Edit history provides three commands: previous_edit, next_edit and clear_edits

Keybindings

No default keybindings are provided as I couldn't find defaults that I liked that didn't override existing ones. I suggest super+[ on Mac and ctrl+[ on Linux and Windows. This overrides unindent and indent (I use Tab and Shift+Tab for this functionality). You can add the following to your User Keybindings:

Mac

{ "keys": ["super+["], "command": "previous_edit" },
  { "keys": ["super+]"], "command": "next_edit" }

Linux/Windows

{ "keys": ["ctrl+["], "command": "previous_edit" },
  { "keys": ["ctrl+]"], "command": "next_edit" }

Context Menu

Edit History adds “Back” and “Forward” entries to the context/right-click menu.