Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, in zsh, and probably other terminals, you can bind ctrl+v to be paste. Many terminal emulators also allow you to bind ctrl+v to paste, although that may interfere with applications that use ctrl-v for something else.

Kitty has a copy_or_interrupt action that behaves like you describe. Although, I think it would interfere with apps where ctrl-c is handled specially.

Edit: kitty also has a copy_or_noop action that passes through the ctrl+c if there is no selection.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: