super-select
Select text between the brackets or in the string & normalize slash in selections
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 bacadra/pulsar-super-select
to install a package directly from the Github repository.
Search
The search begins at the cursor position to the left. When a matching character is found, then it searches for the closing character to the right of the cursor.
Methods
super-select:chars-1
: select chars by/[0-9\\p{L}_\\.]/
super-select:chars-2
: select chars by/[0-9\\p{L}_\\.\\-\\[\\]\\(\\)#]/
super-select:string
: select any of'''
,"""
,'
or"
pairssuper-select:string-'-'
: select any of'''
or'
pairssuper-select:string-'''-'''
: select'''
pairssuper-select:string-"-"
: select any of"""
or"
pairssuper-select:string-"""-"""
: select"""
pairssuper-select:brackets
: select any of()
,[]
,{}
or<>
pairssuper-select:brackets-(-)
: select()
pairssuper-select:brackets-[-]
: select[]
pairssuper-select:brackets-{-}
: select{}
pairssuper-select:brackets-<->
: select<>
pairssuper-select:normalize
: convert slashes to match the most left slashsuper-select:double-backslash
: convert slashes to\\
super-select:backslash
: convert slashes to\
super-select:forward-slash
: convert slashes to/
super-select:html-body
: select html bodysuper-select:html-tags
: select html tags
🍺
ContributingIf you have any ideas on how to improve the package, spot any bugs, or would like to support the development of new features, please feel free to share them via GitHub.