Don't swap Command & Option by default

This commit is contained in:
Bozhidar Batsov 2013-09-02 11:57:38 +03:00
parent 7cae1b3427
commit ab2107a5ba
2 changed files with 13 additions and 2 deletions

View file

@ -244,6 +244,19 @@ Keybinding | Description
<kbd>Super-m</kbd> | Magit status <kbd>Super-m</kbd> | Magit status
<kbd>Super-o</kbd> | Open line above current line <kbd>Super-o</kbd> | Open line above current line
#### OSX modifier keys
Prelude does not mess by default with the standard mapping of `Command` (to `Super`) and `Option` (to `Meta`).
If you want to swap them add this to your personal config:
```lisp
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'super)
```
You can also temporarily swap them with `C-c w` (`M-x prelude-swap-meta-and-super`).
#### Projectile #### Projectile
Here's a list of functionality provided by [Projectile](https://github.com/bbatsov/projectile): Here's a list of functionality provided by [Projectile](https://github.com/bbatsov/projectile):

View file

@ -39,8 +39,6 @@
(exec-path-from-shell-initialize) (exec-path-from-shell-initialize)
;; It's all in the Meta ;; It's all in the Meta
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'super)
(setq ns-function-modifier 'hyper) (setq ns-function-modifier 'hyper)
(defun prelude-swap-meta-and-super () (defun prelude-swap-meta-and-super ()