From 678787151a3e770c736670e96ae8c3cf4efce362 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 6 Apr 2017 22:36:21 +0200 Subject: Fix paths and keybindings on OSX --- emacs.d/init.el | 6 ++++-- 1 file 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 -- cgit v1.2.1