projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs - fix some start issue after elpa folder is deleted
[dotfiles.git]
/
emacs.d
/
config.org
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
48ab5f7
..
126f90c
100644
(file)
--- 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
: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
* Color and Fonts Settings
** highlight current line
#+BEGIN_SRC emacs-lisp :tangle yes :results silent
@@
-267,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)
#+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
(use-package color-theme
:ensure t
@@
-737,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-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
#+END_SRC
@@
-747,8
+742,8
@@
Always indents header, and hide header leading starts so that no need type =#+ST
:features ob-racket)
;; Lua support
: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
;; use current window for org source buffer editting
@@
-771,7
+766,7
@@
Always indents header, and hide header leading starts so that no need type =#+ST
(latex . t)
(java . t)
(ruby . t)
(latex . t)
(java . t)
(ruby . t)
- (lua . t)
+
;
(lua . t)
(lisp . t)
(scheme . t)
(racket . t)
(lisp . t)
(scheme . t)
(racket . t)
@@
-1148,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"))
,#+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
#+END_SRC