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

Multiple Selection - remove Previous Occurrence #869

Closed
babobski opened this Issue Nov 15, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@babobski
Contributor

babobski commented Nov 15, 2015

I love the add next occurrence function, only missing the ability to go back. If working on large files i sometimes overshoot my target and have to start over again. Would be nice if you can jump back one(or more) occurrence.

snap 2015-11-15 at 16 52 592

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Nov 16, 2015

Hi, you can create a userscript that does this:

var scimoz = require('ko/editor').scimoz();
scimoz.dropSelectionN(scimoz.selections - 1);

You can bind that to a key shortcut too, like Ctrl+Shift+D

@Naatan

This comment has been minimized.

Member

Naatan commented Nov 16, 2015

@mitchell-as that still seems like something we ought to be supporting natively, especially if it's so simple :)

@Naatan Naatan reopened this Nov 16, 2015

@Naatan Naatan added this to the 10.0 milestone Nov 16, 2015

mitchell-as added a commit that referenced this issue Nov 27, 2015

mitchell-as added a commit that referenced this issue Dec 1, 2015

Revert "editing: Added command and keybindings to remove previously s…
…elected word in multi-caret session - fixes #869"

This reverts commit e050896.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment