This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/osx
2015-05-10 01:15:00 -04:00
..
img Move layer images into img directories 2014-12-24 01:03:49 -05:00
keybindings.el Command S works with other modes (Customs, EIN...) 2015-05-08 00:20:00 -04:00
packages.el osx layer: add documentation for coreutils' gls 2015-05-10 01:15:00 -04:00
README.md osx layer: add documentation for coreutils' gls 2015-05-10 01:15:00 -04:00

OSX contribution layer for Spacemacs

applogoosxlogo

Table of Contents

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 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

(setq-default dotspacemacs-configuration-layers '(osx)
  ;; List of contribution to load.
)

Coreutils

To get gls install coreutils homebrew:

brew install coreutils

Key Bindings

Key Binding   |       Description

------------------|------------------------------------------------------------ ⌘ q | Quit ⌘ v | Paste ⌘ c | Copy ⌘ x | Cut ⌘ w | Close window ⌘ z | Undo ⌘ Z | Redo ⌃ ⌘ 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