More Emacs and Mac Goodness

Posted by Doug Wed, 09 Mar 2005 04:30:00 GMT

I’ve added

(global-set-key (kbd "A-f") 'isearch-forward)
(global-set-key (kbd "A-M-f") 'occur)
(global-set-key (kbd "A-g") 'isearch-repeat-forward)
(global-set-key (kbd "A-a") 'mark-whole-buffer)
(global-set-key (kbd "A-s") 'save-buffer)
(global-set-key (kbd "A-q") 'save-buffers-kill-emacs)
(global-set-key (kbd "A-o") 'mac-key-open-file)
(global-set-key (kbd "A-i") 'mac-key-show-in-finder)
(global-set-key (kbd "A-p") 'ps-print-buffer-with-faces)
(global-set-key (kbd "A-z") 'undo)

to my .emacs for a more complete conformance to the typical Mac key bindings. This is taken from mac-key-mode.el. I made a quick attempt at just using mac-key-mode, but it didn’t work. So, I just grabbed the key definitions and added them to my list.

Posted in  | no comments

Comments

Comments are disabled

Copyright 2001 - 2005 by Lathi.net and Doug Alcorn

Creative Commons, Some Rights Reserved Ruby on Rails Developer Powered by Debian GNU/Linux Powered by Typo