summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-04-06 22:36:21 +0200
committerDavid Robillard <d@drobilla.net>2017-04-06 22:36:21 +0200
commit678787151a3e770c736670e96ae8c3cf4efce362 (patch)
treee66415948a8139ff10baab8f2f2a4d89278cd774
parent6998c22f491511f31990ffe1158d2ad8e30d29be (diff)
downloaddotfiles-678787151a3e770c736670e96ae8c3cf4efce362.tar.gz
dotfiles-678787151a3e770c736670e96ae8c3cf4efce362.tar.bz2
dotfiles-678787151a3e770c736670e96ae8c3cf4efce362.zip
Fix paths and keybindings on OSX
-rw-r--r--emacs.d/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 8c05f38..94c0b13 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -2,10 +2,12 @@
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp"))
-;; Fix paths on OSX
+;; Fix paths and key bindings on OSX
(when (equal system-type 'darwin)
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
- (setq exec-path (append exec-path '("/usr/local/bin"))))
+ (setq exec-path (append exec-path '("/usr/local/bin")))
+ (global-set-key [home] 'move-beginning-of-line)
+ (global-set-key [end] 'move-end-of-line))
(setq-default
gc-cons-threshold 10000000