clean up src config
This commit is contained in:
parent
fb9dd25438
commit
243ecc1516
5
conf.el
5
conf.el
|
@ -258,7 +258,6 @@ event of an error or nonlocal exit."
|
||||||
(substitute-in-file-name "${XDG_CONFIG_HOME}/r/"))
|
(substitute-in-file-name "${XDG_CONFIG_HOME}/r/"))
|
||||||
|
|
||||||
(setq org-log-done t)
|
(setq org-log-done t)
|
||||||
(setq org-src-window-setup 'current-window)
|
|
||||||
(setq org-startup-indented t)
|
(setq org-startup-indented t)
|
||||||
(delight 'org-indent-mode)
|
(delight 'org-indent-mode)
|
||||||
(setq org-directory "~/Org")
|
(setq org-directory "~/Org")
|
||||||
|
@ -315,6 +314,10 @@ event of an error or nonlocal exit."
|
||||||
|
|
||||||
;;(add-hook 'org-capture-mode-hook 'evil-append)
|
;;(add-hook 'org-capture-mode-hook 'evil-append)
|
||||||
|
|
||||||
|
(setq org-src-window-setup 'current-window)
|
||||||
|
(setq org-src-fontify-natively t)
|
||||||
|
(setq org-edit-src-content-indentation 0)
|
||||||
|
|
||||||
(add-to-list 'org-structure-template-alist
|
(add-to-list 'org-structure-template-alist
|
||||||
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
||||||
|
|
||||||
|
|
13
conf.org
13
conf.org
|
@ -393,7 +393,6 @@ event of an error or nonlocal exit."
|
||||||
** basic
|
** basic
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-log-done t)
|
(setq org-log-done t)
|
||||||
(setq org-src-window-setup 'current-window)
|
|
||||||
(setq org-startup-indented t)
|
(setq org-startup-indented t)
|
||||||
(delight 'org-indent-mode)
|
(delight 'org-indent-mode)
|
||||||
(setq org-directory "~/Org")
|
(setq org-directory "~/Org")
|
||||||
|
@ -466,8 +465,14 @@ By default, the tag selection window obliterates all but the current window...ho
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;;(add-hook 'org-capture-mode-hook 'evil-append)
|
;;(add-hook 'org-capture-mode-hook 'evil-append)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** source snippets
|
** src
|
||||||
*** emacs-lisp
|
*** basic
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq org-src-window-setup 'current-window)
|
||||||
|
(setq org-src-fontify-natively t)
|
||||||
|
(setq org-edit-src-content-indentation 0)
|
||||||
|
#+END_SRC
|
||||||
|
*** snippets
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'org-structure-template-alist
|
(add-to-list 'org-structure-template-alist
|
||||||
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
||||||
|
@ -1329,7 +1334,7 @@ the agenda does not do this by default...it's annoying
|
||||||
|
|
||||||
(setq org-agenda-auto-exclude-function 'nd/org-auto-exclude-function)
|
(setq org-agenda-auto-exclude-function 'nd/org-auto-exclude-function)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** column_view
|
** column view
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-columns-default-format
|
(setq org-columns-default-format
|
||||||
"%25ITEM %4TODO %TAGS %5Effort{:} %OWNER(OWN)")
|
"%25ITEM %4TODO %TAGS %5Effort{:} %OWNER(OWN)")
|
||||||
|
|
Loading…
Reference in New Issue