add keybinding for org-habit-stats

This commit is contained in:
Inhji 2024-03-04 21:08:48 +05:45
parent df2f8835fc
commit 7ebdcffb84
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@
(defun org-path (filename) (expand-file-name filename +user-org-path))
(after! org
(map! :map org-mode-map :localleader "g s" #'org-habit-stats-view-habit-at-point)
(setq org-directory +user-org-path
org-src-tab-acts-natively t)
org-todo-sets '(("TODO" "PROJ" "LOOP" "STRT" "WAIT" "HOLD" "IDEA" "DONE" "KILL")

View File

@ -46,6 +46,7 @@ These keybindings extend the default doom bindings, either because the defaults
| DEL | Up Directory | Dired |
| F6 | Toggle Light/Dark Theme | |
| F7 | Start Org-Drill | |
| SPC m g s | Go to habit stats | Org |
#+begin_src emacs-lisp
(map! :n "<f12>" #'org-agenda-list)
@ -103,6 +104,7 @@ These keybindings extend the default doom bindings, either because the defaults
(defun org-path (filename) (expand-file-name filename +user-org-path))
(after! org
(map! :map org-mode-map :localleader "g s" #'org-habit-stats-view-habit-at-point)
(setq org-directory +user-org-path
org-src-tab-acts-natively t)
org-todo-sets '(("TODO" "PROJ" "LOOP" "STRT" "WAIT" "HOLD" "IDEA" "DONE" "KILL")