summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2014-09-08 10:45:51 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2014-09-08 10:48:26 +0200
commit3b086aaf03e2ac266ac0eed8949aca8bd52e5627 (patch)
tree1afbf12ac7b044984eb002ea63a0643facec2242
parent5299e6c10c1fbb6bc95fb37c96a066a526cd46a0 (diff)
Leaderize agenda and todo-tree
-rw-r--r--evil-org.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/evil-org.el b/evil-org.el
index fd9216a..e9c2107 100644
--- a/evil-org.el
+++ b/evil-org.el
@@ -67,17 +67,21 @@
"T" '(lambda () (interactive) (evil-org-eol-call (lambda() (org-insert-todo-heading nil))))
"H" 'org-beginning-of-line
"L" 'org-end-of-line
- ";t" 'org-show-todo-tree
"o" '(lambda () (interactive) (evil-org-eol-call 'always-insert-item))
"O" '(lambda () (interactive) (evil-org-eol-call 'org-insert-heading))
"$" 'org-end-of-line
"^" 'org-beginning-of-line
"<" 'org-metaleft
">" 'org-metaright
- ";a" 'org-agenda
"-" 'org-cycle-list-bullet
(kbd "TAB") 'org-cycle)
+;; leader maps
+(evil-leader/set-key
+ "t" 'org-show-todo-tree
+ "a" 'org-agenda
+)
+
;; normal & insert state shortcuts.
(mapc (lambda (state)
(evil-define-key state evil-org-mode-map