config: remove initial buffer in doom & simplify edbin completion
This commit is contained in:
parent
1fe58f4f40
commit
38793e709b
|
@ -95,7 +95,6 @@
|
||||||
|
|
||||||
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir)
|
(setq org-directory (expand-file-name "2-standards/notes" user-data-dir)
|
||||||
default-directory org-directory
|
default-directory org-directory
|
||||||
initial-buffer-choice (expand-file-name "journal/log.org" org-directory)
|
|
||||||
org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam")
|
org-roam-directory (concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "org-roam")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -251,16 +250,16 @@
|
||||||
(setq org-ellipsis "↴")
|
(setq org-ellipsis "↴")
|
||||||
|
|
||||||
;; Exporting - https://orgmode.org/manual/Export-Settings.html
|
;; Exporting - https://orgmode.org/manual/Export-Settings.html
|
||||||
(setq org-latex-pdf-process '("latexmk -shell-escape -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o")) ; https://emacs.stackexchange.com/a/48351
|
(setq org-latex-pdf-process '("latexmk -shell-escape -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o") ; https://emacs.stackexchange.com/a/48351
|
||||||
(setq org-latex-packages-alist '(("margin=2cm" "geometry") ("avoid-all" "widows-and-orphans")))
|
org-latex-packages-alist '(("margin=2cm" "geometry") ("avoid-all" "widows-and-orphans"))
|
||||||
(setq org-export-with-tags nil)
|
org-export-with-tags nil
|
||||||
(setq org-export-with-tasks 'done)
|
org-export-with-tasks 'done
|
||||||
(setq org-export-with-todo-keywords nil)
|
org-export-with-todo-keywords nil)
|
||||||
|
|
||||||
;; Org startup - https://orgmode.org/manual/In_002dbuffer-Settings.html
|
;; Org startup - https://orgmode.org/manual/In_002dbuffer-Settings.html
|
||||||
(setq org-startup-folded 'show2levels)
|
(setq org-startup-folded 'show2levels
|
||||||
(setq org-startup-with-inline-images t)
|
org-startup-with-inline-images t
|
||||||
(setq org-display-remote-inline-images 'cache)
|
org-display-remote-inline-images 'cache)
|
||||||
|
|
||||||
;; Fix xdg-open & pdfs - https://depp.brause.cc/dotemacs/#orgd97f08c
|
;; Fix xdg-open & pdfs - https://depp.brause.cc/dotemacs/#orgd97f08c
|
||||||
(setq org-file-apps '((remote . emacs)
|
(setq org-file-apps '((remote . emacs)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#compdef edbin
|
#compdef edbin
|
||||||
compadd $(echo $PATH | cut -d':' -f1 | xargs ls -pA)
|
compadd $(ls -pA $HOME/.local/bin/scripts) #$(echo $PATH | cut -d':' -f1 | xargs ls -pA)
|
||||||
|
|
Loading…
Reference in New Issue