org: add layer variable for todo bindings
This commit is contained in:
parent
4178a3de6e
commit
010164ce77
|
@ -11,6 +11,9 @@
|
|||
|
||||
;; Variables
|
||||
|
||||
(defvar org-want-todo-bindings nil
|
||||
"If non-nil, evil-org's todo bindings are activated.")
|
||||
|
||||
(defvar org-enable-bootstrap-support nil
|
||||
"If non-nil Twitter Bootstrap related packages are configured.")
|
||||
|
||||
|
|
|
@ -54,7 +54,10 @@
|
|||
:init
|
||||
(progn
|
||||
(add-hook 'org-mode-hook 'spacemacs//evil-org-mode)
|
||||
(setq evil-org-key-theme '(textobjects navigation additional)))
|
||||
(setq evil-org-key-theme `(textobjects
|
||||
navigation
|
||||
additional
|
||||
,@(when org-want-todo-bindings '(todo)))))
|
||||
:config
|
||||
(spacemacs|diminish evil-org-mode " ⓔ" " e")))
|
||||
|
||||
|
|
Loading…
Reference in New Issue