Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
| ;; Time-stamp: <2016-05-12 17:04:01 kmodi> | |
| ;; Hydra | |
| ;; https://github.com/abo-abo/hydra | |
| (use-package hydra | |
| :config | |
| (progn | |
| ;; (setq hydra-lv nil) | |
| (set-face-attribute 'hydra-face-red nil :foreground "Red" :bold t) | |
| (set-face-attribute 'hydra-face-blue nil :foreground "RoyalBlue3" :bold t) | |
| (set-face-attribute 'hydra-face-amaranth nil :foreground "#e52b50" :bold t) | |
| (set-face-attribute 'hydra-face-pink nil :foreground "HotPink1" :bold t) | |
| (set-face-attribute 'hydra-face-teal nil :foreground "#367588" :bold t) | |
| (hydra-add-font-lock))) | |
| (provide 'setup-hydra) | |
| ;; https://github.com/abo-abo/hydra/wiki/Hydra-Colors#colorful-hydras | |
| ;; https://github.com/abo-abo/hydra/wiki/internals#exit | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | Body | Non-color | Head | Executing | After | | |
| ;; | Color | Alternative | Inherited | NON-HEADS | executing | | |
| ;; | | | Color | | HEADS | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | red | :foreign-keys nil (default) | red | Allow and Quit | | | |
| ;; | | :exit nil (default) | | | Continue | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | blue | :foreign-keys nil (default) | blue | Allow and Quit | | | |
| ;; | | :exit t | | | Quit | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | amaranth | :foreign-keys warn | red | Disallow and Continue | | | |
| ;; | | :exit nil (default) | | | Continue | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | teal | :foreign-keys warn | blue | Disallow and Continue | | | |
| ;; | | :exit t | | | Quit | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| | |
| ;; | pink | :foreign-keys run | red | Allow and Continue | | | |
| ;; | | :exit nil (default) | | | Continue | | |
| ;; |----------+-----------------------------+-----------+-----------------------+-----------| |