super-select
An additional methods of text selection & slash normalization
asiloisad 35 1 1.2.4 MIT GitHub

super-select

Text selection helpers and slash normalization commands.

Features

  • String selection: Select text inside quotes with super-select:string (Alt+S).
  • Bracket selection: Select text inside brackets with super-select:brackets (Alt+D).
  • Character patterns: Select by custom character sets.
  • Slash normalization: Convert path separators to forward slash (Alt+/), backslash (Alt+\), or double backslash (Ctrl+Alt+\).
  • HTML selection: Select HTML body or tags.

Installation

To install super-select search for super-select in the Install pane of the Pulsar settings or run ppm install super-select. Alternatively, you can run ppm install asiloisad/pulsar-super-select to install a package directly from the GitHub repository.

Commands

Commands available in atom-text-editor:

  • super-select:chars-1: select text by chars /[0-9\\p{L}_\\.]/,
  • super-select:chars-2: select text by chars /[0-9\\p{L}_\\.\\-\\[\\]\\(\\)#]/,
  • super-select:string: (Alt+S) select text inside ''', """, ' or ",
  • super-select:string-'-': select text inside''' or ',
  • super-select:string-'''-''': select text inside ''',
  • super-select:string-\-``: select text inside backticks,
  • super-select:string-"-": select text inside """ or ",
  • super-select:string-"""-""": select text inside """,
  • super-select:brackets: (Alt+D) select text inside (), [], {} or <>,
  • super-select:brackets-(-): select text inside (),
  • super-select:brackets-[-]: select text inside [],
  • super-select:brackets-{-}: select text inside {},
  • super-select:brackets-<->: select text inside <>,
  • super-select:normalize: convert slashes to match the most left slash inside selection,
  • super-select:double-backslash: (Ctrl+Alt+\) convert slashes to \\ inside selection,
  • super-select:backslash: (Alt+\) convert slashes to \ inside selection,
  • super-select:forward-slash: (Alt+/) convert slashes to / inside selection,
  • super-select:html-body: select html body,
  • super-select:html-tags: select html tags.

Contributing

Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub — any feedback's welcome!