mirror of https://github.com/Flinner/dots.git
feat: org-agenda setup
This commit is contained in:
parent
5484ce7925
commit
e1cad7ca20
|
@ -275,6 +275,7 @@ Single Esc to Quit, instead of *three*
|
||||||
** Function keys
|
** Function keys
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(global-set-key (kbd "M-<f8>") '(lambda () (interactive) (org-agenda nil "a")))
|
(global-set-key (kbd "M-<f8>") '(lambda () (interactive) (org-agenda nil "a")))
|
||||||
|
(global-set-key (kbd "<f8>" ) '(lambda () (interactive) (org-agenda nil "a")))
|
||||||
(global-set-key (kbd "M-<f6>") 'elfeed-dashboard)
|
(global-set-key (kbd "M-<f6>") 'elfeed-dashboard)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -432,11 +433,11 @@ Capture
|
||||||
"b" '(:ignore t :which-key "buffers")
|
"b" '(:ignore t :which-key "buffers")
|
||||||
|
|
||||||
"bs" '(save-buffer :which-key "Save Buffer")
|
"bs" '(save-buffer :which-key "Save Buffer")
|
||||||
"bk" '(kill-this-buffer :which-key "Kill Buffer")
|
"bk" '(kill-current-buffer :which-key "Kill Buffer")
|
||||||
"bl" '(evil-switch-to-windows-last-buffer :which-key "Last Buffer")
|
"bl" '(evil-switch-to-windows-last-buffer :which-key "Last Buffer")
|
||||||
"bi" '(ibuffer :which-key "Ibuffer")
|
"bi" '(ibuffer :which-key "Ibuffer")
|
||||||
"br" '(revert-buffer :which-key "Ibuffer")
|
"br" '(revert-buffer :which-key "Revert Buffer")
|
||||||
"bb" '(switch-to-buffer :which-key "Ibuffer")
|
"bb" '(switch-to-buffer :which-key "Switch to buffer")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Windows (w)
|
**** Windows (w)
|
||||||
|
@ -877,6 +878,7 @@ use-package
|
||||||
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||||
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
|
(set-face-attribute 'org-todo nil :background "#444527" )
|
||||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch))
|
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -1055,7 +1057,6 @@ From: https://yiufung.net/post/anki-org/
|
||||||
*** T/ODOs
|
*** T/ODOs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)")
|
(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)")
|
||||||
(sequence "BACKLOG(b)" "STARTED(s)" "WAITING(w)" "|")
|
|
||||||
(sequence "|" "CANCELED(c)")))
|
(sequence "|" "CANCELED(c)")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -1072,61 +1073,76 @@ From: https://yiufung.net/post/anki-org/
|
||||||
(evil-set-initial-state 'org-agenda-mode 'normal)
|
(evil-set-initial-state 'org-agenda-mode 'normal)
|
||||||
(evil-define-key 'normal org-agenda-mode-map
|
(evil-define-key 'normal org-agenda-mode-map
|
||||||
(kbd "<RET>") 'org-agenda-goto
|
(kbd "<RET>") 'org-agenda-goto
|
||||||
;; (kbd "\t") 'org-agenda-goto
|
;;;; (kbd "\t") 'org-agenda-goto
|
||||||
|
|
||||||
"q" 'org-agenda-quit
|
"q" 'org-agenda-quit
|
||||||
"r" 'org-agenda-redo
|
"r" 'org-agenda-redo
|
||||||
"S" 'org-save-all-org-buffers
|
"S" 'org-save-all-org-buffers
|
||||||
|
|
||||||
|
;;;; Clocking
|
||||||
|
"c" nil
|
||||||
|
"ci" 'org-agenda-clock-in
|
||||||
|
"co" 'org-agenda-clock-out
|
||||||
|
"cx" 'org-agenda-clock-cancel
|
||||||
|
"cR" 'org-agenda-clockreport-mode
|
||||||
|
|
||||||
|
;;;; Properties
|
||||||
|
"s" 'org-agenda-schedule
|
||||||
|
"d" 'org-agenda-deadline
|
||||||
|
"p" 'org-agenda-priority
|
||||||
|
"t" 'org-agenda-todo
|
||||||
|
":" 'org-agenda-set-tags
|
||||||
|
"e" 'org-agenda-set-effort
|
||||||
|
|
||||||
|
;;;; Movement
|
||||||
|
"j" 'org-agenda-next-line
|
||||||
|
"k" 'org-agenda-previous-line
|
||||||
|
"f" 'org-agenda-later
|
||||||
|
"b" 'org-agenda-earlier
|
||||||
|
"J" 'org-agenda-next-date-line
|
||||||
|
"K" 'org-agenda-previous-date-line
|
||||||
|
"." 'org-agenda-goto-today
|
||||||
|
|
||||||
|
;;;; View toggles
|
||||||
|
"vt" 'org-agenda-toggle-time-grid
|
||||||
|
"vw" 'org-agenda-week-view
|
||||||
|
"vd" 'org-agenda-day-view
|
||||||
|
"vl" 'org-agenda-log-mode
|
||||||
|
"F" 'org-agenda-follow-mode
|
||||||
|
|
||||||
|
;;;; Other
|
||||||
|
"C" 'org-capture
|
||||||
|
"g/" 'org-agenda-filter-by-tag
|
||||||
|
|
||||||
|
;;;; cool but inactive
|
||||||
;; "gj" 'org-agenda-goto-date
|
;; "gj" 'org-agenda-goto-date
|
||||||
;; "gJ" 'org-agenda-clock-goto
|
;; "gJ" 'org-agenda-clock-goto
|
||||||
;; "gm" 'org-agenda-bulk-mark
|
;; "gm" 'org-agenda-bulk-mark
|
||||||
;; "go" 'org-agenda-open-link
|
;; "go" 'org-agenda-open-link
|
||||||
"s" 'org-agenda-schedule
|
|
||||||
;; "+" 'org-agenda-priority-up
|
;; "+" 'org-agenda-priority-up
|
||||||
"p" 'org-agenda-priority
|
|
||||||
;; "-" 'org-agenda-priority-down
|
;; "-" 'org-agenda-priority-down
|
||||||
;; "y" 'org-agenda-todo-yesterday
|
;; "y" 'org-agenda-todo-yesterday
|
||||||
;; "n" 'org-agenda-add-note
|
;; "n" 'org-agenda-add-note
|
||||||
"t" 'org-agenda-todo
|
|
||||||
":" 'org-agenda-set-tags
|
|
||||||
;; ";" 'org-timer-set-timer
|
;; ";" 'org-timer-set-timer
|
||||||
;; "I" 'helm-org-task-file-headings
|
;; "I" 'helm-org-task-file-headings
|
||||||
;; "i" 'org-agenda-clock-in-avy
|
;; "i" 'org-agenda-clock-in-avy
|
||||||
;; "O" 'org-agenda-clock-out-avy
|
;; "O" 'org-agenda-clock-out-avy
|
||||||
;; "u" 'org-agenda-bulk-unmark
|
;; "u" 'org-agenda-bulk-unmark
|
||||||
;; "x" 'org-agenda-exit
|
;; "x" 'org-agenda-exit
|
||||||
"j" 'org-agenda-next-line
|
|
||||||
"k" 'org-agenda-previous-line
|
|
||||||
"vt" 'org-agenda-toggle-time-grid
|
|
||||||
;; "va" 'org-agenda-archives-mode
|
;; "va" 'org-agenda-archives-mode
|
||||||
"vw" 'org-agenda-week-view
|
|
||||||
"vd" 'org-agenda-day-view
|
|
||||||
;; "vl" 'org-agenda-log-mode
|
|
||||||
;;"vc" 'org-agenda-show-clocking-issues
|
;;"vc" 'org-agenda-show-clocking-issues
|
||||||
"g/" 'org-agenda-filter-by-tag
|
|
||||||
;; "o" 'delete-other-windows
|
;; "o" 'delete-other-windows
|
||||||
;; "gh" 'org-agenda-holiday
|
;; "gh" 'org-agenda-holiday
|
||||||
;; "gv" 'org-agenda-view-mode-dispatch
|
;; "gv" 'org-agenda-view-mode-dispatch
|
||||||
"f" 'org-agenda-later
|
|
||||||
"b" 'org-agenda-earlier
|
|
||||||
"c" 'org-capture
|
|
||||||
"e" 'org-agenda-set-effort
|
|
||||||
"n" nil ; evil-search-next
|
"n" nil ; evil-search-next
|
||||||
;; "{" 'org-agenda-manipulate-query-add-re
|
;; "{" 'org-agenda-manipulate-query-add-re
|
||||||
;; "}" 'org-agenda-manipulate-query-subtract-re
|
;; "}" 'org-agenda-manipulate-query-subtract-re
|
||||||
;; "A" 'org-agenda-toggle-archive-tag
|
;; "A" 'org-agenda-toggle-archive-tag
|
||||||
"." 'org-agenda-goto-today
|
|
||||||
;; "0" 'evil-digit-argument-or-evil-beginning-of-line
|
;; "0" 'evil-digit-argument-or-evil-beginning-of-line
|
||||||
;; "<" 'org-agenda-filter-by-category
|
;; "<" 'org-agenda-filter-by-category
|
||||||
;; ">" 'org-agenda-date-prompt
|
;; ">" 'org-agenda-date-prompt
|
||||||
"F" 'org-agenda-follow-mode
|
|
||||||
"d" 'org-agenda-deadline
|
|
||||||
;; "H" 'org-agenda-holidays
|
;; "H" 'org-agenda-holidays
|
||||||
"J" 'org-agenda-next-date-line
|
|
||||||
"K" 'org-agenda-previous-date-line
|
|
||||||
;; "L" 'org-agenda-recenter
|
;; "L" 'org-agenda-recenter
|
||||||
"P" 'org-agenda-show-priority
|
|
||||||
;; "R" 'org-agenda-clockreport-mode
|
|
||||||
;; "Z" 'org-agenda-sunrise-sunset
|
;; "Z" 'org-agenda-sunrise-sunset
|
||||||
;; "T" 'org-agenda-show-tags
|
;; "T" 'org-agenda-show-tags
|
||||||
;; "X" 'org-agenda-clock-cancel
|
;; "X" 'org-agenda-clock-cancel
|
||||||
|
|
Loading…
Reference in New Issue