X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=126f90c684b38489dff3307bdd0d5be63b4309bb;hb=98f94ddef05fa07db4e8e118def29c324f8d2dec;hp=ffb0e13c367c68b08617eccb5236cd86779b4f50;hpb=926b297e2d85018982407bb7c1f692cbc1028bc6;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index ffb0e13..126f90c 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -256,6 +256,8 @@ Loading theme should be after all required loaded, refere [[https://github.com/j #+BEGIN_SRC emacs-lisp :tangle yes :results silent (setq vc-follow-symlinks t) + (use-package molokai-theme + :ensure t) (use-package color-theme :ensure t @@ -726,7 +728,11 @@ Always indents header, and hide header leading starts so that no need type =#+ST (setq org-hide-emphasis-markers t) (setq org-html-validation-link nil) ;; open link when return clicked - (setq org-return-follows-link t)) + (setq org-return-follows-link t) + ;; open the ppt file by external open instead of emacs + (add-to-list 'org-file-apps '("\\.pptx" . "open %s")) + (add-to-list 'org-file-apps '("\\.doc" . "open %s")) + (setq org-image-actual-width nil)) #+END_SRC @@ -736,8 +742,8 @@ Always indents header, and hide header leading starts so that no need type =#+ST :features ob-racket) ;; Lua support - (use-package ob-lua - :ensure t) + ;(use-package ob-lua + ; :ensure t) ;; use current window for org source buffer editting @@ -760,7 +766,7 @@ Always indents header, and hide header leading starts so that no need type =#+ST (latex . t) (java . t) (ruby . t) - (lua . t) + ; (lua . t) (lisp . t) (scheme . t) (racket . t) @@ -1137,6 +1143,8 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em ,#+OPTIONS: toc:nil\n")) (add-to-list 'org-structure-template-alist '("d" "#+BEGIN_SRC ditaa :file ? :cmdline -r -s 0.8 :cache yes \n\n#+END_SRC")) + (add-to-list 'org-structure-template-alist + '("u" "#+BEGIN_SRC plantuml :file ? \n\n#+END_SRC")) #+END_SRC