spacemacs/layers/smex/README.org
2015-11-23 14:09:16 +01:00

29 lines
1 KiB
Org Mode

#+TITLE: smex contribution layer for Spacemacs
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
[[file:img/smex.png]]
* Table of Contents :TOC_4_org:noexport:
- [[Description][Description]]
- [[Install][Install]]
- [[Key bindings][Key bindings]]
* Description
This layer replaces =helm-M-x= by [[https://github.com/nonsequitur/smex][smex]] which is built on top of =ido=.
=ido= can perform flex matching with the [[https://github.com/lewang/flx][flx-ido]] mode which is already
activated in the Spacemacs layer.
* Install
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(smex))
#+END_SRC
* Key bindings
| Key Binding | Description |
|-------------+--------------------------------------------|
| ~SPC :~ | all Emacs commands (interactive functions) |
| ~SPC m :~ | current major mode commands |