TIL I can paste into dmenu with ctrl+y

Discovered it by accident. I hope someone who didn’t know this sees this post!

Posted Mar 16, 2022, 7:03 PM UTC

293
bakkeby•

Yes I assume it is based on emacs keybindings. You can add cases for XK_v and XK_V in the keypress function, just search for case XK_y: /* paste selection */.

According to my notes the Ctrl+v (Ctrl+y) is to paste from XA_PRIMARY whereas Ctrl+Shift+v (Ctrl+Shift+y) is to paste from CLIPBOARD.

8
nerdybreadOP•

Thanks for the suggestion! This feels a lot more natural

1
[deleted]•

[deleted]

5
loki_1337•

The 'ol RTFM or GTFO :D

2