Clean up osx layer readme

This commit is contained in:
Eivind Fonn 2016-02-23 20:55:50 +01:00
parent 5ded426431
commit 9ccad9c2c1
1 changed files with 5 additions and 9 deletions

View File

@ -14,8 +14,7 @@
- [[Future Work][Future Work]]
* Description
Spacemacs is not just emacs+vim. It can have OSX keybindings too!
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
much, really.
@ -23,21 +22,17 @@ 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=. You will need to
add =osx= to the existing =dotspacemacs-configuration-layers= list in this
file.
*** Use with non-US keyboard layouts
If you need the ~⌥~ key to type common characters such as ={[]}~= which is usual
for e.g. Finnish and Swedish keyboard layouts, you'll probably want to leave the
~⌥~ key unchanged by setting the =osx-use-option-as-meta= variable to =nil=:
@ -47,14 +42,16 @@ for e.g. Finnish and Swedish keyboard layouts, you'll probably want to leave the
(osx :variables osx-use-option-as-meta nil)))
#+END_SRC
If you have problem entering symbols that are behind the ~⌥~ key you may want to added this to the user-init in the .spacemacs-File. This will allow you to use the right ~⌥~ key to write symbols. The left ~⌥~ key can be used as the Meta key.
If you have problem entering symbols that are behind the ~⌥~ key you may want to
added this to the user-init in the .spacemacs-File. This will allow you to use
the right ~⌥~ key to write symbols. The left ~⌥~ key can be used as the Meta
key.
#+BEGIN_SRC emacs-lisp
(setq-default mac-right-option-modifier nil)
#+END_SRC
** Coreutils
To get =gls= install coreutils homebrew:
#+BEGIN_SRC sh
@ -80,7 +77,6 @@ To get =gls= install coreutils homebrew:
| ~⌃ ⌘ f~ | Toggle fullscreen |
* Future Work
- Allow user to choose from either ~hyper~ or ~super~ as ~⌘~. This is an option
that is supported cross-platform.
- Configurable option to keep the OSX and spacemacs clipboards separate