Created
December 31, 2009 19:15
-
-
Save mig/266865 to your computer and use it in GitHub Desktop.
OSX emacs custom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; emacs-key-bindings.el - bindings that make life easier | |
(global-set-key (kbd "C-c b") 'eval-buffer) | |
(global-set-key (kbd "C-x f") 'recentf-ido-find-file) | |
(global-set-key (kbd "M-s") 'save-buffer) | |
(global-set-key (kbd "M-z") 'undo) | |
;; set line commenting to textmate style | |
(global-set-key (kbd "M-/") 'comment-or-uncomment-region) | |
;; above commenting binding took over this useful function | |
(global-set-key (kbd "M-d") 'dabbrev-expand) | |
;; For Emacs 23.1 in OSX | |
;(setq ns-command-modifier 'meta) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment