diff options
| author | Jakob L. Kreuze | 2019-02-03 09:41:56 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-02-03 09:41:56 -0500 |
| commit | abe98bf7c4ce8214f61c28236706d7bb424ac1b1 (patch) | |
| tree | a4661597727849142a84e2e38ac483b8ba1f2ea8 | |
| parent | 77490132609239e79032bc9bcc7e6015dc0914a2 (diff) | |
Add keybindings for starting Firefox and mutt
| -rw-r--r-- | jakob.org | 51 |
1 files changed, 28 insertions, 23 deletions
@@ -875,6 +875,12 @@ inspired by the WASD movement typical of first-person shooter games. ([?\s-X] . (lambda () (interactive) (start-process "" nil "/usr/bin/slock"))) + ([?\s-f] . (lambda () + (interactive) + (start-process "" nil "/usr/bin/firefox"))) + ([?\s-m] . (lambda () + (interactive) + (start-process "" nil "/usr/bin/kitty" "--class" "mutt" "/usr/bin/mutt"))) (,(kbd "s-<return>") . (lambda () (interactive) (start-process "" nil "/usr/bin/kitty"))) @@ -1094,29 +1100,6 @@ Code for generating hierarchical category listings. (newline)))))))) #+END_SRC -** Workflow - -Automatically open a buffer named =*Mind Dump*= to, well, save all of my -thoughts. They're dated and saved in a directory so I can =ag= them. This is the -closest thing I will ever have to an implementation of =ag= for my thoughts. - -#+BEGIN_SRC elisp - :config - (defvar mind-dump-directory "~/Notes/Mind Dumps" - "Where to store dated 'mind dump' files.") - - (defun mind-dump-filename () - "Returns the path of today's 'mind dump' file." - (concatenate 'string - (file-name-as-directory mind-dump-directory) - (format-time-string "%Y-%m-%d") - ".org")) - - (let* ((buffer (find-file-noselect (mind-dump-filename)))) - (set-buffer buffer) - (rename-buffer "*Mind Dump*")) -#+END_SRC - ** Capture Low-friction of adding things to the day's "mind dump" and my GTD inbox. @@ -1208,6 +1191,28 @@ items right on the first try. It's unhelpful and really just annoying. (setq org-drill-forgetting-index 100)) #+END_SRC +** Workflow + +Automatically open a buffer named =*Mind Dump*= to, well, save all of my +thoughts. They're dated and saved in a directory so I can =ag= them. This is the +closest thing I will ever have to an implementation of =ag= for my thoughts. + +#+BEGIN_SRC elisp +(defvar mind-dump-directory "~/Notes/Mind Dumps" + "Where to store dated 'mind dump' files.") + +(defun mind-dump-filename () + "Returns the path of today's 'mind dump' file." + (concatenate 'string + (file-name-as-directory mind-dump-directory) + (format-time-string "%Y-%m-%d") + ".org")) + +(let* ((buffer (find-file-noselect (mind-dump-filename)))) + (set-buffer buffer) + (rename-buffer "*Mind Dump*")) +#+END_SRC + * Yasnippet Enable Yasnippet globally. |