-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
<C-r> <C-w> (insert word under cursor) in search/commmand line #4143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TextEditor.getWord()
doesn't quite give us what we want when we do this on top of punctuation. For instance, if you're on one of the colons in std::string
, it should paste string
, not :
.
@J-Fields Thanks for the hint. I think I have replicated the vim behavior as I best I could. |
Travis tests have failedHey @fraenkel, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: fb981d40-033d-11ea-bbb5-2bfb3cbbfe32 |
Travis tests have failedHey @fraenkel, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: d8032850-033f-11ea-bbb5-2bfb3cbbfe32 |
Travis tests have failedHey @fraenkel, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: 08385370-0344-11ea-bbb5-2bfb3cbbfe32 |
Travis tests have failedHey @fraenkel, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: d1d33570-0348-11ea-bbb5-2bfb3cbbfe32 |
What this PR does / why we need it*:
inserts the word under the cursor in search or command line.
Which issue(s) this PR fixes
fixes #4102
Special notes for your reviewer: