Skip to content

Commit

Permalink
Fix up org agenda binds
Browse files Browse the repository at this point in the history
  • Loading branch information
d4ncer committed Oct 31, 2018
1 parent 10f7989 commit 98a50b2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
21 changes: 12 additions & 9 deletions config/rk-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ Do not scheduled items or repeating todos."
:config
(progn
(rk-leader-def
"oA" '(org-agenda :wk "agenda"))
"oA" '(org-agenda :wk "agendas"))

(rk-local-leader-def :keymaps 'org-agenda-mode-map
"r" '(org-agenda-refile :wk "refile"))
Expand Down Expand Up @@ -685,14 +685,17 @@ table tr.tr-even td {
(use-package rk-org-goto
:config
(rk-leader-def
"oa" '(rk-org-goto-agenda :wk "agenda")
"od" '(rk-org-goto-diary :wk "diary")
"oi" '(rk-org-goto-inbox :wk "inbox")
"ow" '(rk-org-goto-work :wk "work")
"or" '(rk-org-goto-reference :wk "reference")
"op" '(rk-org-goto-projects :wk "projects")
"ot" '(rk-org-goto-todo-list :wk "todos")
"ov" '(rk-org-goto-tags-list :wk "tags")))
"oa" '(rk-org-goto-agenda :wk "agenda")
"og" '(:ignore t :wk "goto")
"ogc" '(rk-org-goto-consume :wk "consume")
"oga" '(rk-org-goto-tickler :wk "apps")
"ogd" '(rk-org-goto-diary :wk "diary")
"ogi" '(rk-org-goto-inbox :wk "inbox")
"ogw" '(rk-org-goto-work :wk "work")
"ogr" '(rk-org-goto-reference :wk "reference")
"ogp" '(rk-org-goto-projects :wk "projects")
"ot" '(rk-org-goto-todo-list :wk "todos")
"ov" '(rk-org-goto-tags-list :wk "tags")))

(use-package rk-org-jira-url
:after org
Expand Down
6 changes: 6 additions & 0 deletions lisp/rk-org/rk-org-goto.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
(interactive)
(find-file rk-org-consume-file))

;;;###autoload
(defun rk-org-goto-tickler ()
"Switch to the tickler file."
(interactive)
(find-file rk-org-tickler-file))

;;;###autoload
(defun rk-org-goto-reference ()
"Switch to the GTD reference file."
Expand Down

0 comments on commit 98a50b2

Please sign in to comment.