diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-16T14·52+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-17T10·56+0000 |
commit | 1de7d7797e722b29591d76256c4a622196b97d30 (patch) | |
tree | a3e61cc9c95e32fdc897b67ba9e520b81d16ebb7 | |
parent | a3077677f967ad299f49f8898cb9af4072462ce9 (diff) |
Consume ivy-clipmenu
Move keybindings from ivy-clipmenu.el into my clipboard.el. I didn't want to presume users' preferences for the keybindings in ivy-clipmenu.
-rw-r--r-- | configs/shared/.emacs.d/wpc/clipboard.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/clipboard.el b/configs/shared/.emacs.d/wpc/clipboard.el index f014c253cf8a..c73db7252eca 100644 --- a/configs/shared/.emacs.d/wpc/clipboard.el +++ b/configs/shared/.emacs.d/wpc/clipboard.el @@ -13,6 +13,16 @@ ;;; Code: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Dependencies +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(require 'prelude) +(require 'ivy-clipmenu) + +(prelude/assert (prelude/executable-exists? "clipmenu")) +(prelude/assert (prelude/executable-exists? "clipmenud")) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -26,5 +36,8 @@ (yank) (message "Pasted!")) +(exwm-input-set-key + (kbd "C-M-v") #'ivy-clipmenu/copy) + (provide 'clipboard) ;;; clipboard.el ends here |