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
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 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