Ha, I just learned that deleting text in my zsh with Ctrl+U
to the front or Ctrl+K
to the end puts it in a buffer that can be pasted by pressing Ctrl+Y
! Thatās neat. Even removing the last word with Ctrl+W
moves it into this paste buffer.
https://jvns.ca/blog/2024/11/26/terminal-rules/#rule-5-vaguely-support-readline-keybindings
I guess I have to implement pasting in tt
as well.
#aks4fqq
#bt2jf4a
(#aks4fqq) @lyse@lyse.isobeef.org Ctrl-U in Vim does something similar (āDelete all entered characters before the cursor in the current lineā), but it does not put them into the āclipboardā. I sometimes hit Ctrl-U by accident and then my text is gone. š”š
#d5bq77q