urxvt: fix copy & paste
authorAmin Bandali <bandali@gnu.org>
Sat, 4 Jan 2020 21:25:52 +0000 (16:25 -0500)
committerAmin Bandali <bandali@gnu.org>
Sat, 4 Jan 2020 21:25:52 +0000 (16:25 -0500)
.Xresources.d/rxvt-unicode

index 3953c58..cc5f766 100644 (file)
@@ -29,11 +29,15 @@ URxvt.keysym.M-Escape:      perl:keyboard-select:activate
 URxvt.keysym.M-s:           perl:keyboard-select:search
 URxvt.url-launcher:         /usr/bin/abrowser
 URxvt.matcher.button:       1
 URxvt.keysym.M-s:           perl:keyboard-select:search
 URxvt.url-launcher:         /usr/bin/abrowser
 URxvt.matcher.button:       1
-URxvt.iso14755:             false
-URxvt.iso14755_53:          false
-URxvt.keysym.M-c:           perl:clipboard:copy
-URxvt.keysym.M-v:           perl:clipboard:paste
+! URxvt.iso14755:             false
+! URxvt.iso14755_53:          false
+! URxvt.keysym.M-c:           perl:clipboard:copy
+! URxvt.keysym.M-v:           perl:clipboard:paste
+URxvt.keysym.M-c:           eval:selection_to_clipboard
+URxvt.keysym.M-v:           eval:paste_clipboard
 URxvt.keysym.C-A-V:         perl:clipboard:paste_escaped
 URxvt.keysym.C-A-V:         perl:clipboard:paste_escaped
+! URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
+! URxvt.keysym.Shift-Control-V: eval:paste_clipboard
 URxvt.keysym.C-Up:          font-size:increase
 URxvt.keysym.C-Down:        font-size:decrease
 URxvt.keysym.C-S-Up:        font-size:incglobal
 URxvt.keysym.C-Up:          font-size:increase
 URxvt.keysym.C-Down:        font-size:decrease
 URxvt.keysym.C-S-Up:        font-size:incglobal