diff options
| -rw-r--r-- | jakob.org | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -1247,8 +1247,7 @@ Code for interactively navigating the personal wiki. #+BEGIN_SRC elisp :config (defvar notes-directory-ignore - '("." ".." ".git" ".gitignore" "Drill" - "Finance" "GTD" "Interviewing" "Mind Dumps") + '("." ".." ".git" ".gitignore" "Drill" "Finance" "GTD" "Interviewing") "Files and directories in `notes-directory' to exclude from wiki interactions.") @@ -2352,25 +2351,3 @@ Enable =emmet-mode= for =sgml-mode= and =css-mode=. (sgml-mode . emmet-mode) (css-mode . emmet-mode)) #+END_SRC - -* Post-Initialization - -Automatically open a buffer named =*Mind Dump*= for quickly jotting down thoughts. -They're dated and saved in a directory, so I can =ag= them. This is the closest -I'll ever get to being able to grep my brain. - -#+BEGIN_SRC elisp -(defvar mind-dump-directory "~/Notes/Mind Dumps" - "Directory to store dated 'mind dump' files in.") - -(defun mind-dump-filename () - "Path for 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 |