六一的部落格


关关难过关关过,前路漫漫亦灿灿。



自定义快捷键菜单


pretty-hydra-安装

 1(use-package pretty-hydra
 2  :ensure t
 3  :init
 4  (pretty-hydra-define emms-video-hydra (:title "Emms-hydra" :quit-key "q" :color blue) ;; 为Emms定制播放菜单
 5    ("Control" (("SPC" emms-pause "Pause")
 6                ("f" emms-seek-forward "Fast Forward")
 7                ("b" emms-seek-backward "Rewind")
 8                ("p" emms-previous "Previous")
 9                ("n" emms-next "Next")
10                ("x" emms-stop "Stop"))))
11  :bind("C-c e m" . emms-video-hydra/body))

pretty-hydra-快捷键

-
C-c e m 打开Emms菜单

prettry-hydra


自定义快捷键菜单


pretty-hydra-安装

 1(use-package pretty-hydra
 2  :ensure t
 3  :init
 4  (pretty-hydra-define emms-video-hydra (:title "Emms-hydra" :quit-key "q" :color blue) ;; 为Emms定制播放菜单
 5    ("Control" (("SPC" emms-pause "Pause")
 6                ("f" emms-seek-forward "Fast Forward")
 7                ("b" emms-seek-backward "Rewind")
 8                ("p" emms-previous "Previous")
 9                ("n" emms-next "Next")
10                ("x" emms-stop "Stop"))))
11  :bind("C-c e m" . emms-video-hydra/body))

pretty-hydra-快捷键

-
C-c e m 打开Emms菜单