Browse Source

Don't swap Command & Option by default

custom
Bozhidar Batsov 12 years ago
parent
commit
ab2107a5ba
  1. 13
      README.md
  2. 2
      core/prelude-osx.el

13
README.md

@ -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):

2
core/prelude-osx.el

@ -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 ()

Loading…
Cancel
Save