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

Feature request: select subword under cursor #18

Open
OliverJAsh opened this issue Feb 3, 2017 · 3 comments
Open

Feature request: select subword under cursor #18

OliverJAsh opened this issue Feb 3, 2017 · 3 comments

Comments

@OliverJAsh
Copy link
Contributor

Like Cmd+D when the cursor is on a word, except for subword, e.g.:

foo_ba|r_baz

If | is where my caret is, I would like a command that selects bar.

@ow--
Copy link
Owner

ow-- commented Feb 9, 2017

Ohh, I kinda like that. Also, I reckon it'd share base implementation with #3 so maybe I'd finally get around to do that as well.

@ow--
Copy link
Owner

ow-- commented Feb 15, 2017

What would you expect to be selected in this case?

fooBar|Baz

@OliverJAsh
Copy link
Contributor Author

Taking note of existing behaviour in VSCode:

  • Given foo bar| baz, bar will be selected
  • Given foo bar |baz, baz will be selected

Given the above, perhaps it shouldn't do anything?

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

No branches or pull requests

2 participants