Don't swap Command & Option by default
This commit is contained in:
parent
7cae1b3427
commit
ab2107a5ba
2 changed files with 13 additions and 2 deletions
13
README.md
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):
|
||||||
|
|
|
@ -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…
Reference in a new issue