Last active
March 21, 2018 04:13
-
-
Save deerpig/3cebadb236fed15c54b45f73a4321336 to your computer and use it in GitHub Desktop.
Fancy version of Marcin Borkowski's org-mode hydra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; hydra-org ---------------------------------------------------- | |
;; | |
;; based on Marcin Borkowski's Org-mode Hydra: | |
;; http://mbork.pl/2018-03-18_My_Org-mode_hydra | |
(defhydra hydra-org (:color pink :timeout 12 :hint nil) | |
" | |
╭──────────┐ | |
│ Org Mode │ | |
╭────────────────────────────────────────────────────────────────────┴──────────╯ | |
Clock In [_i_] Cancel a clock [_q_] Go to a clock [_j_] Clock in last task [_<f10>_] | |
Clock Out [_o_] Create TODO [_m_] Quit [_<SPC>_] | |
" | |
("i" (lambda () (interactive) (org-clock-in '(4)))) | |
("o" org-clock-out) | |
("q" org-clock-cancel ) | |
("<f10>" org-clock-in-last ) | |
("j" (lambda () (interactive) (org-clock-goto '(4))) ) | |
("m" make-this-message-into-an-org-todo-item ) | |
("<SPC>" nil nil)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment