Skip to content

Instantly share code, notes, and snippets.

@razzius
Created January 22, 2017 05:33
Show Gist options
  • Save razzius/207c3b2e0a4582610bd9163409a07073 to your computer and use it in GitHub Desktop.
Save razzius/207c3b2e0a4582610bd9163409a07073 to your computer and use it in GitHub Desktop.

ivy-flx layer

Table of Contents

Description

This layer makes ivy use flx completion. It also makes flx start with no pattern and makes all selected text one color for easier readability.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add ivy-flx to the existing dotspacemacs-configuration-layers list in this file.

(defconst ivy-flx-packages
'(ivy flx))
(defun ivy-flx/post-init-ivy ()
(use-package ivy
:config
(setq ivy-re-builders-alist
'((t . ivy--regex-fuzzy)))
(setq ivy-initial-inputs-alist nil)))
(setq ivy-minibuffer-faces
'(ivy-minibuffer-match-face-3))
(defun ivy-flx/post-init-flx ()
(use-package flx))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment