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

Support dropping selections based on a regular expression #63

Closed
ulyssa opened this issue Nov 22, 2022 · 1 comment
Closed

Support dropping selections based on a regular expression #63

ulyssa opened this issue Nov 22, 2022 · 1 comment
Assignees
Labels
kakoune Issues related to the Kakoune keybindings

Comments

@ulyssa
Copy link
Owner

ulyssa commented Nov 22, 2022

Kakoune supports dropping selections using a regular expression to either indicate what to drop (<A-K>) or what to keep (<A-k>). It's not clear to me whether this should be done as a new SelectionAction, or as a new CursorCloseTarget.

@ulyssa ulyssa self-assigned this Nov 22, 2022
@ulyssa ulyssa added the kakoune Issues related to the Kakoune keybindings label Dec 9, 2022
@ulyssa ulyssa closed this as completed Apr 18, 2023
@ulyssa
Copy link
Owner Author

ulyssa commented Apr 18, 2023

I've added a SelectionAction::Filter variant for this. The command bar widget will need to be adapted in some way to allow keybindings to specify what action gets generated when the search bar is submitted, either as part of #32 or before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kakoune Issues related to the Kakoune keybindings
Projects
None yet
Development

No branches or pull requests

1 participant