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 871
  • OS X 797
  • Linux 277
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 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 0 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 0 0 0 0 1 0 0 1 0 0 0 0 1
OS X 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 1 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 1 1 0 1 1 0 0 0 0 0 0 0 0

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