Package mac-key-mode-0.227-1
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.7/x86_64 | |||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | 0.227-1 | ||
| Description: | Mac-like keybindings for emacsen (0.227-1) | |
This package provides mac-key-mode, a minor mode that provides
mac-like key bindings and relevant elisp functions. | ||
| Usage Hints: | ||
To use mac-key-mode, add the form
(mac-key-mode)
to your emacs initialization file. To turn on mac-key-mode only when
not running in a terminal, consider adding the form
(unless (getenv "TERM")
(mac-key-mode))
to your emacs initialization file. (Thanks to Alex Schroder for the
tip.) To define additional keybindings, modify mac-key-mode-map in
your .emacs file:
(define-key mac-key-mode-map [(alt l)] 'goto-line)
When mac-key-mode is on, the command key is recognized as the 'alt'
key, but the option (alt) key is also recognized as 'alt' key. If you
would like to use option (alt) key as meta, add the following form to
your emacs initialization file:
(add-hook 'mac-key-mode-hook
(lambda()
(interactive)
(if mac-key-mode
(setq mac-option-modifier 'meta)
(setq mac-option-modifier nil)
)))
See the documentation for these variables for their precise meanings. | ||
| Section: | editors | |
| Maintainer: | Jesse Alama <alamaATstanfordDOTedu> | |
| Website: | http://www.emacswiki.org/cgi-bin/emacs-en/MacKeyMode | |
| License: | GPL | |
| Info-File: | dists/10.4/unstable/main/finkinfo/editors/mac-key-mode.info CVS log, Last Changed: Thu, 29 Jan 2009 07:52:38 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.