about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-01-13T15·07-0500
committerglittershark <grfn@gws.fyi>2021-01-13T16·53+0000
commitfdccca5b85923c0bc66ee434e0b951b5bf4b81eb (patch)
tree291a6d3f3d15523e91525e01666185df082bc63b /users
parent5e30c3fe1b79b44d908ca4f5ad9e286ccf1d38f4 (diff)
feat(gs/emacs): Bind original org-clock-in binding r/2080
This is too deep in my muscle memory, and actually fairly ergonomic on
my keyboard

Change-Id: I2e57c3221a52f00f62e5a7427bdfae6fe37ff850
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2354
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users')
-rw-r--r--users/glittershark/emacs.d/+bindings.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/users/glittershark/emacs.d/+bindings.el b/users/glittershark/emacs.d/+bindings.el
index 0f97900ded0d..d1028ee1f624 100644
--- a/users/glittershark/emacs.d/+bindings.el
+++ b/users/glittershark/emacs.d/+bindings.el
@@ -932,10 +932,14 @@ private/hlissner/snippets."
       ;; :i [remap delete-backward-char]   #'doom/deflate-space-maybe
       ;; :i [remap newline]                #'doom/newline-and-indent
 
-      (:after org
-        (:map org-mode-map
-          :i [remap doom/inflate-space-maybe] #'org-self-insert-command
-          ))
+      (:map org-mode-map
+       :i [remap doom/inflate-space-maybe] #'org-self-insert-command
+       "C-c C-x C-i" #'org-clock-in
+       "C-c C-x <C-i>" #'org-clock-in)
+
+      (:map org-agenda-mode-map
+       "C-c C-x C-i" #'org-agenda-clock-in
+       "C-c C-x <C-i>" #'org-agenda-clock-in)
 
       ;; Restore common editing keys (and ESC) in minibuffer
       (:map (minibuffer-local-map