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
  • 7 minutes ago
  • 13 years ago

Installs

  • Total 44K
  • Win 41K
  • Mac 2K
  • Linux 931
Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 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
Windows 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 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

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.