emacs - fix artist-mode mapping issue
[dotfiles.git] / emacs.d / config.org
index c71f248..06c90d8 100644 (file)
@@ -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,6 +791,10 @@ Always indents header, and hide header leading starts so that no need type =#+ST
         (org-display-inline-images)
       (error nil)))
 
+  ;; ditaa artist mode
+  (add-hook 'artist-mode-hook (lambda ()
+                                (interactive)
+                                (define-key artist-mode-map [down-mouse-3] 'artist-mouse-choose-operation)))
 
 #+END_SRC
 *** plantUML