diff options
Diffstat (limited to 'emacs/init.org')
-rw-r--r-- | emacs/init.org | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/emacs/init.org b/emacs/init.org index 9ac0ef7..d8eb2e7 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -1,8 +1,8 @@ #+TITLE: Emacs init -#+OPTIONS: author:nil num:nil -#+STARTUP: showall #+LINK: yoshi-theme http://ryuslash.org/projects/yoshi-theme.html +#+OPTIONS: author:nil num:nil #+PROPERTY: tangle init2.el +#+STARTUP: showall * GUI @@ -425,3 +425,40 @@ (global-set-key (kbd "<f8>") 'oni:raise-eshell) #+END_SRC + +* svg-mode-line-themes + + After Emacs has initialized, enable =svg-mode-line-themes= and select + a theme. + + #+BEGIN_SRC emacs-lisp + (defun oni:enable-svg-mode-line-theme () + "Enable `svg-mode-line-theme' and select a theme." + (smt/enable) + (smt/set-theme 'black-crystal)) + + (add-hook 'emacs-startup-hook 'oni:enable-svg-mode-line-theme) + #+END_SRC + +* bidi + + Disable bi-directional text, since I don't write right-to-left + myself and I don't know anyone who does. I have read that it is a + bad idea to disable it completely, but forcing left-to-right should + help. + + #+BEGIN_SRC emacs-lisp + (setq-default bidi-paragraph-direction 'left-to-right) + #+END_SRC + +* disabled + + There are some functions which get disabled by default because they + "confuse new users", but these I like using. + + #+BEGIN_SRC emacs-lisp + (put 'upcase-region 'disabled nil) + (put 'downcase-region 'disabled nil) + (put 'narrow-to-region 'disabled nil) + (put 'scroll-left 'disabled nil) + #+END_SRC |