about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-24T12·29+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·25+0000
commitd5cd2719e79e65405cfff9924db6e661bdf2e83f (patch)
tree6194133c497bbe6849d77769f5a49b7fbf031710
parentd13e347b9fe8cde051928c1ffa7f2dd97e0bc086 (diff)
Support pasting in read-expression-map
This was something small that has been slightly bothering me for a *very* long
time. Now it's fixed!
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
index bdf50df67840..11ec3279e548 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-keybindings.el
@@ -194,6 +194,12 @@
     map)
   "William Carroll's keybindings that should have the highest precedence.")
 
+;; Support pasting in M-:.
+(general-define-key
+ :keymaps 'read-expression-map
+ "C-v"   #'clipboard-yank
+ "C-S-v" #'clipboard-yank)
+
 (define-minor-mode wpc/kbds-minor-mode
   "A minor mode so that my key settings override annoying major modes."
   :init-value t