Implement "Skip Selection" in Sublime Text mode. #5251

Open
opened 2018-02-08 17:41:02 +01:00 by marijnh · 1 comment
marijnh commented 2018-02-08 17:41:02 +01:00 (Migrated from gitlab.com)

This a feature request to implement the "skip selection" feature for the multiple cursor functionality of Sublime Text mode.

In Sublime Text, this is used in conjunction with Ctrl+D, which selects the next instance of the currently selected word. Pressing Ctrl+K followed by Ctrl+D will skip the latest selection and then add the next selection.

Here's an example:

1. foo
2. foo
3. foo
4. foo

By highlighting the first foo above, then pressing Ctrl+D, Ctrl+K, Ctrl+D will cause #1 and #3 to be highlighted, but not #2.

This a feature request to implement the "skip selection" feature for the multiple cursor functionality of Sublime Text mode. In Sublime Text, this is used in conjunction with Ctrl+D, which selects the next instance of the currently selected word. Pressing Ctrl+K followed by Ctrl+D will skip the latest selection and then add the next selection. Here's an example: ``` 1. foo 2. foo 3. foo 4. foo ``` By highlighting the first `foo` above, then pressing Ctrl+D, Ctrl+K, Ctrl+D will cause #1 and #3 to be highlighted, but not #2.
marijnh commented 2018-02-08 20:04:56 +01:00 (Migrated from gitlab.com)

We're happy to take pull requests for this, but it's unlikely that the CodeMirror maintainers will implement this feature themselves.

We're happy to take pull requests for this, but it's unlikely that the CodeMirror maintainers will implement this feature themselves.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/codemirror5#5251
No description provided.