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

Back There

by iuliux ALL

Jump back to where you were working, after a small escapade

Details

  • 2019.10.08.10.33.53
  • github.​com
  • github.​com
  • 5 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 2K
  • Win 1K
  • Mac 448
  • Linux 250
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
Mac 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 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 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

BackThere (Sublime Text 2/3 plugin)

Gitter

It does…

Saves one position for you to return to, as many times as you need.

It is composed of two commands:

  1. save_back_there (Ctrl, Shift, q) - Saves the current position of the text cursor in the current window

  2. go_back_there (Ctrl, q) - Places the cursor back there, where it was last saved

New: commit 43825a1f9b introduces:
When no position is saved in the current file, a jump to the latest globally saved position will be performed (this involving a switch to that other file's view) if at least one saved position exists in the current session (since the editor was started).

Default key bingings

  1. Save command:

    Ctrl + Shift + q

  2. Go command:

    Ctrl + q

For OSX, replace Ctrl with Control (not Command)

To use your custom (and probably better) key bindings, you should either add them in Preferences -> Key bindings - User like in the example below, either edit the Default (<operating-system>).sublime-keymap file in the plugin's folder.

{ "keys": ["shift+ctrl+q"], "command": "save_back_there" },
{ "keys": ["ctrl+q"], "command": "go_back_there" }

Installing (with PackageControl)

(Install Package Control plugin)

Invoke Package Control (Ctrl+Shift+P), enter Install command and pick Back There

Installing (without PackageControl)

If you don't have git installed, you can just download as Zip, and unpack it.

OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/iuliux/SublimeText2-BackThere.git BackThere

Linux (Ubuntu like distros)

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/iuliux/SublimeText2-BackThere.git BackThere

Windows 7:

Copy the directory to: C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages
or using GitHub for Windows

Windows XP:

Copy the directory to: C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages
or using GitHub for Windows

License

MIT License, see http://opensource.org/licenses/MIT