EXWM: Bind s-v to helm-selector-magit.

master
Pierre Neidhardt 2021-01-22 21:58:25 +01:00
parent fbb2084699
commit ed1ae3f43c
1 changed files with 5 additions and 1 deletions

View File

@ -99,7 +99,11 @@
(exwm-input-set-key (kbd "s-E") #'helm-selector-eww-other-window))
(when (fboundp 'magit-status)
(exwm-input-set-key (kbd "s-v") #'magit-status))
(if (require 'helm-selector-magit nil :noerror)
(progn
(exwm-input-set-key (kbd "s-v") #'helm-selector-magit)
(exwm-input-set-key (kbd "s-V") #'magit-status))
(exwm-input-set-key (kbd "s-v") #'magit-status)))
(when (fboundp 'emms-all)
(exwm-input-set-key (kbd "s-a") #'emms-smart-browse)
(exwm-input-set-key (kbd "S-s-<kp-enter>") #'emms-pause)