[xwidget] Bind y to copy selection

This commit is contained in:
James Nguyen 2022-05-21 21:31:44 -04:00
parent 8e8bad58dd
commit 32584b7b46
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ F is the name of function, N is the pixel height."
(defun evil-collection-xwidget-setup ()
"Set up `evil' bindings for `xwidget'."
(evil-collection-set-readonly-bindings 'xwidget-webkit-mode-map)
(evil-collection-define-key 'visual 'xwidget-webkit-mode-map
"y" 'xwidget-webkit-copy-selection-as-kill)
(evil-collection-define-key 'normal 'xwidget-webkit-mode-map
;; Mimic vimium (a browser extension)
;;