summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-01-15 12:11:41 +0100
committerGravatar Tom Willemsen2013-01-15 12:11:41 +0100
commit7a5a232c27394a8afd87abc2f27b31f62cd91b59 (patch)
treee965db1aabb93bb84f29fa20c46c33b422a141a9 /.emacs.d/init.org
parent25dcd4dd48b31a426a1e04204f0926567820ad59 (diff)
downloaddotfiles-7a5a232c27394a8afd87abc2f27b31f62cd91b59.tar.gz
dotfiles-7a5a232c27394a8afd87abc2f27b31f62cd91b59.zip
Emacs: Update some things
Diffstat (limited to '.emacs.d/init.org')
-rw-r--r--.emacs.d/init.org14
1 files changed, 12 insertions, 2 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 6e7ca46..86cafbc 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -1,6 +1,7 @@
#+TITLE: Emacs init
#+STYLE: <link href="http://ryuslash.ninth.su/test2.css" rel="stylesheet">
#+OPTIONS: author:nil
+#+STARTUP: showall
* Startup
@@ -73,7 +74,8 @@
#+BEGIN_SRC emacs-lisp
(mapc #'oni:add-to-load-path-maybe-load-defs
'("~/projects/emacs/dispass.el" "~/var/src/emacs/mode-icons"
- "~/.emacs.d/site-lisp"))
+ "~/.emacs.d/site-lisp" "~/projects/emacs/pony-mode/src"
+ "~/projects/emacs/php-mode"))
#+END_SRC
The =oni:add-to-load-path-maybe-load-defs= function just adds the
@@ -321,7 +323,7 @@
Since the ~C-l~ combination is so much easier than ~C-j~ when using the
[[http://colemak.com][colemak]] keyboard layout and I use ~C-j~ much more, switch them.
- #+BEGIN_SRC emacs-lisp tangle init2.el
+ #+BEGIN_SRC emacs-lisp :tangle init2.el
(define-key key-translation-map (kbd "C-j") (kbd "C-l"))
(define-key key-translation-map (kbd "C-l") (kbd "C-j"))
#+END_SRC
@@ -346,6 +348,14 @@
'(add-to-list 'eshell-visual-commands "unison"))
#+end_src
+* Window movement
+
+ Make it easier to move through windows by using ~windmove~.
+
+ #+BEGIN_SRC emacs-lisp :tangle init2.el
+ (windmove-default-keybindings)
+ #+END_SRC
+
* Footnotes
[fn:1] Though it doesn't happen often that ~trunk~ is so messed up that