X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=7315e37953c5ebb56c87c1ffbc71a89016e00792;hb=e389452a72d4ae8f3dc41d21c5fdc6d695244a7a;hp=2853c16fe22e5037c5c1628621ebfca034848ea6;hpb=dffc106005a38ce41358182ee68bd59f2a52d811;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index 2853c16..7315e37 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -735,7 +735,9 @@ Always indents header, and hide header leading starts so that no need type =#+ST (add-to-list 'org-modules 'org-habit) (setq org-habit-graph-column 50) (setq org-hide-emphasis-markers t) - (setq org-html-validation-link nil)) + (setq org-html-validation-link nil) + ;; open link when return clicked + (setq org-return-follows-link t)) #+END_SRC @@ -789,7 +791,8 @@ Always indents header, and hide header leading starts so that no need type =#+ST (org-display-inline-images) (error nil))) - + ;; ditaa artist mode + (define-key artist-mode-map [down-mouse-3] 'artist-mouse-choose-operation) #+END_SRC *** plantUML [[http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html][DONE-integrate-plantuml-support]] @@ -1145,6 +1148,11 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em (set-face-attribute face nil :inherit 'fixed-pitch)) (list 'org-code 'org-block 'org-block-background)) (set-face-attribute 'org-table nil :family "Ubuntu Mono" :height 140) + ;; org-special-keyword inherited from font-lock-keywork originally; as org is changed to variable-pitch, it cause + ;; the font in special-keywords are not monospace + (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-keyword-face fixed-pitch)) + ;; same as above + (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) ;; fix indent broken by variable-pitch-mode ;; http://emacs.stackexchange.com/questions/26864/variable-pitch-face-breaking-indentation-in-org-mode