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
  • 11 years ago
  • 2 minutes ago
  • 12 years ago

Installs

  • Total 44K
  • Win 41K
  • Mac 2K
  • Linux 931
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 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16
Windows 0 1 0 0 0 0 0 1 0 0 0 2 2 0 1 0 0 0 2 0 0 1 1 0 0 0 0 0 1 0 0 1 0 1 3 0 0 0 1 0 0 0 1 1 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.