Enable org-babel languages + cleanup lambdas
This commit is contained in:
parent
4fec29bfe2
commit
c0086ca687
1 changed files with 9 additions and 2 deletions
|
@ -34,6 +34,13 @@
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
'((sequence "TODO" "DOING" "VERIFY" "WAITING" "|" "DONE" "DELEGATED" "CANCELLED")))
|
'((sequence "TODO" "DOING" "VERIFY" "WAITING" "|" "DONE" "DELEGATED" "CANCELLED")))
|
||||||
|
|
||||||
|
(org-babel-do-load-languages 'org-babel-load-languages
|
||||||
|
'((python . t)
|
||||||
|
(ruby . t)
|
||||||
|
(sh . t)
|
||||||
|
(matlab . t)
|
||||||
|
(latex . t)))
|
||||||
|
|
||||||
(setq org-tag-alist '(("@work" . ?b)
|
(setq org-tag-alist '(("@work" . ?b)
|
||||||
("@home" . ?h)
|
("@home" . ?h)
|
||||||
("@writing" . ?w)
|
("@writing" . ?w)
|
||||||
|
@ -110,9 +117,9 @@
|
||||||
"<" 'org-metaleft
|
"<" 'org-metaleft
|
||||||
">" 'org-metaright
|
">" 'org-metaright
|
||||||
"-" 'org-cycle-list-bullet
|
"-" 'org-cycle-list-bullet
|
||||||
(kbd "RET") (lambda() (interactive) (org-insert-heading-after-current) (evil-insert-state))
|
(kbd "RET") (λ (org-insert-heading-after-current) (evil-insert-state))
|
||||||
(kbd "SPC") 'org-todo
|
(kbd "SPC") 'org-todo
|
||||||
(kbd "M-SPC") (lambda() (interactive) (org-todo "DONE"))
|
(kbd "M-SPC") (λ (org-todo "DONE"))
|
||||||
(kbd "TAB") 'org-cycle)
|
(kbd "TAB") 'org-cycle)
|
||||||
|
|
||||||
;; normal & insert state shortcuts.
|
;; normal & insert state shortcuts.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue