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

Vintageous - Region To Selection

Vintageous: Convert your current search hits to a selection, All: Select other parts with same scope name, region to selection command.

Details

Installs

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

Readme

Source
bitbucket.​org

Vintageous - Region To Selection

This plugin provides a command to convert a region to selections. User can navigate each part of region and decide to add or remove this part to/from selection or skip it.

This plugin also provides a command to create a region of all scopes like the scope under cursor and enters the selection mode.

Vintegeous Users: this plugin is configured to convert regions created by vi search to selection.

Same Scope Selection

Type ctrl+space (Vintageous: gs) anywhere. This xreates a region containing everything, which has same scope name(s), like scope(s) in current selection (under cursor).

If you type ctrl+alt+space (Vintageous: gS) the entire scope path from your selection(s) will be considered.

Then you can navigate through selection:

  • down (j, n) — add current region to selection and move to next part of region.
  • up (k, N) — remove current region from selection and move to previous part of region.
  • right (l) — move to next part of region.
  • left (h) — move to previous part of region.
  • a — select all parts of region.

If you are done with your selection:

  • ESC to exit selection mode.

Vintageous Search Support

If you have searched something with vi-search (/ key), you can type gH to enter selection mode. You can then navigate through region as described in Same Scope Selection.

If you want to quickly select all occurances found, you can type ga and ESC to exit selection mode.

Region To Selection

Behaviour described above is just one application of a general command region_to_selection. You can see how it is used in Default.sublime-keymap provided by this package.

Changes

2013-01-03
  • renamed package to "Vintageous - Region To Selection", such that it is loaded after Vintageous, to make keybindings work with vintageous.
2013-01-02
  • added key-binding for same scope selection in vintageous (gs, gS)

Author

Kay-Uwe (Kiwi) Lorenz <kiwi@franka.dyndns.org> (http://quelltexter.org)

Support my work on Sublime Text Plugins: Donate via Paypal