Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to expand selection to quotes #77

Open
dufferzafar opened this issue Dec 11, 2017 · 3 comments
Open

Command to expand selection to quotes #77

dufferzafar opened this issue Dec 11, 2017 · 3 comments

Comments

@dufferzafar
Copy link

By default the expand_region command uses all the heuristics to expand.

Is there a command (that can be bound to a key) that forces the expand region to select quotes' content?

{ "keys": [" ctrl+' "], "command": "expand_region", "args": {"force_to": "quotes (content only)"}}

@dufferzafar dufferzafar changed the title Command to expand to selection to quotes Command to expand selection to quotes Dec 11, 2017
@r-stein
Copy link
Collaborator

r-stein commented Dec 11, 2017

Such an option will be added soon.

@dufferzafar
Copy link
Author

dufferzafar commented Dec 11, 2017

Thanks!

Adding this will make expand region to be used as an alternative to plugins like https://github.com/kek/sublime-expand-selection-to-quotes

@r-stein
Copy link
Collaborator

r-stein commented Dec 11, 2017

You can also use BracketHighlighter to expand to the quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants