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

Jump​To

by JonasPf ALL

Sublime Text 2 plugin to move the cursor

Details

  • 2016.09.14.16.54.42
  • github.​com
  • github.​com
  • 3 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 2K
  • Win 1K
  • Mac 693
  • Linux 370
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 Jan 7 Jan 6
Windows 0 0 1 0 1 0 2 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 2 1 0 0 2 0 0 0 1 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

I'm not actively working on this project anymore. If somebody wants to maintain it, please send me an email to jonas.pfannschmidt at gmail.com. Otherwise, https://github.com/xavi-/sublime-selectuntil seems to be a good alternative.

Summary

JumpTo is a plugin for Sublime Text 2 to move the cursor to any position in the current line. It's very similar to some movement commands in Vim. This is especially useful when editing multiple similar lines at the same time.

Watch this video to see a real world example on how I use it to refactore some code.

Install

  • Copy this repository into the Sublime Text 2 “Packages” directory.
  • Install keymaps for the commands (see Example.sublime-keymap for my preferred keys)

Usage

Press ctrl+e (or click on Goto -> Jump to) and enter a search string. The cursor will jump to the start of the first occurence of this search string.

Press ctrl+shift+e (or click on Selection -> Expand Selection to) to select all characters from the current cursor position to the first occurence of the search string.

License

Copyright © 2012, Jonas Pfannschmidt

Licensed under the MIT license http://www.opensource.org/licenses/mit-license.php