[emacs] Map C-c C-c in my workmacs sessions to (save-buffer)
This might only make sense for my particular setup, but I always seem to try finishing my Worklog entries by hitting C-c C-c. You know why? Because they feel like ending a `GIT_COMMITMSG`. So - this code block is only meant for workmacs - I might as well remap the shortcut then. :D
This commit is contained in:
parent
0c0d1d7b50
commit
6797c2809f
|
@ -448,6 +448,11 @@ is tomorrow. With two prefixes, select the deadline."
|
|||
(ef-themes-select 'ef-cyprus)
|
||||
(add-hook 'org-journal-mode-hook
|
||||
(lambda () (add-hook 'after-save-hook 'delete-frame)))
|
||||
; Somehow my brain mapped this shortcut in org-journal mode
|
||||
; Oh yes, you know why? Because they feel like I finish a "git commit" :D
|
||||
(map! :after org-journal
|
||||
:map org-journal-mode-map
|
||||
:n "C-c C-c" #'save-buffer)
|
||||
(setq server-client-instructions nil) ;; hide noisy minibuffer
|
||||
(org-journal-open-current-journal-file)))
|
||||
:config
|
||||
|
|
Loading…
Reference in New Issue