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 using registers with multiple selections #124

Open
ulyssa opened this issue Oct 20, 2023 · 0 comments
Open

Support using registers with multiple selections #124

ulyssa opened this issue Oct 20, 2023 · 0 comments
Labels
kakoune Issues related to the Kakoune keybindings

Comments

@ulyssa
Copy link
Owner

ulyssa commented Oct 20, 2023

When using multiple selections to yank, delete or paste in Kakoune, the contents are kept as a vector of each selection's text in the register. Kakoune then has multiple keybindbings for pasting these:

  • p/P/R which pastes after/before/replaces each selection with the matching indexed contents from the register; if there are fewer selections than in the register, then the extra content doesn't get pasted; if there are more selections than in the register, then the last selection from the register gets reused.
  • <a-p>/<a-P>/<a-R> which pastes after/before/replaces every selection with every one of the contents from the register

This will need to be added for #32.

@ulyssa ulyssa added the kakoune Issues related to the Kakoune keybindings label Oct 20, 2023
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