X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=a027b1482c6a0ea2d049fc87fa0c524502386f15;hb=4f59901dcf618abb717f5f45b02802dbf922b659;hp=48ab5f7c6bea2e83c491209aceaf945c2b04dc48;hpb=da60fca2ddc7f876f244d95c2eb49f35338e04a9;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index 48ab5f7..a027b14 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -133,17 +133,6 @@ Check out [[http://tapoueh.org/emacs/el-get.html][el-get]]. :ensure t) #+END_SRC -* Mac Specific -#+BEGIN_SRC emacs-lisp :tangle yes :results silent - ;; (defconst *is-a-mac* (eq system-type 'darwin)) - ;; (setq mouse-wheel-scroll-amount '(1 - ;; ((shift) . 5) - ;; ((control)))) - - - ;; (setq-default indicate-empty-lines t) -#+END_SRC - * Color and Fonts Settings ** highlight current line #+BEGIN_SRC emacs-lisp :tangle yes :results silent @@ -737,7 +726,9 @@ 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"))) #+END_SRC @@ -1148,6 +1139,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