spacemacs/contrib/osx/README.org

70 lines
1.9 KiB
Org Mode
Raw Normal View History

2015-06-10 16:44:30 +00:00
#+TITLE: OSX contribution layer for Spacemacs
[[file:img/apple.png]]
* Table of Contents :TOC@4:
- [[#description][Description]]
- [[#philosophy][Philosophy]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#coreutils][Coreutils]]
- [[#key-bindings][Key Bindings]]
- [[#future-work][Future Work]]
* Description
Spacemacs is not just emacs+vim. It can have OSX keybindings too!
This layer globally defines common OSX keybindings. ~⌘~ is set to
~super~ and ~⌥~ is set to ~meta~. Aside from that, there's nothing
2015-06-10 16:44:30 +00:00
much, really.
While in =dired= this layer will try to use =gls= instead of =ls=.
* Philosophy
While this layer enables common OSX bindings, it does not implement
OSX navigation keybindings. Spacemacs is meant to be used with evil,
and we encourage you to do so :)
* Install
** Layer
To use this configuration layer, add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(osx))
2015-06-10 16:44:30 +00:00
#+END_SRC
** Coreutils
To get =gls= install coreutils homebrew:
#+BEGIN_SRC sh
brew install coreutils
#+END_SRC
* Key Bindings
| Key Binding | Description |
|-------------+-------------------|
| ~⌘ +~ | Scale up text |
| ~⌘ -~ | Scale down text |
| ~⌘ q~ | Quit |
| ~⌘ v~ | Paste |
| ~⌘ c~ | Copy |
| ~⌘ x~ | Cut |
| ~⌘ a~ | Select all |
| ~⌘ w~ | Close window |
| ~⌘ W~ | Close frame |
| ~⌘ n~ | New frame |
| ~⌘ z~ | Undo |
| ~⌘ Z~ | Redo |
| ~⌃ ⌘ f~ | Toggle fullscreen |
* Future Work
- Allow user to choose from either ~hyper~ or ~super~ as ~⌘~. This is an option
2015-06-10 16:44:30 +00:00
that is supported cross-platform.
- Configurable option to keep the OSX and spacemacs clipboards separate