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 910
  • Mac 808
  • Linux 286
Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29
Windows 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
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
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