From 72a33b9156ac1b60703659c3ff204a501f67599f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 1 May 2018 16:01:38 +0200 Subject: feat(all): Replace helm with ivy For most of my use-cases Helm seems to be overkill, and despite overall seeming like a nice and featureful package it has stability issues and bugs that annoy me. I've heard that ivy is simpler to use and configure, so I'm giving it a chance here. --- init/settings.el | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'init/settings.el') diff --git a/init/settings.el b/init/settings.el index 2324a38f4559..3f55774fa5f0 100644 --- a/init/settings.el +++ b/init/settings.el @@ -1,21 +1,15 @@ (require 'uniquify) -;; Make Helm go! -(require 'helm-config) - -;; Enable fuzzy matching in Helm. -;; The wiki recommends the first two options for globally enabling fuzzy -;; matching, however this does not actually work. -;; Setting all the options helps! -(setq helm-mode-fuzzy-match t - helm-completion-in-region-fuzzy-match t - helm-M-x-fuzzy-match t - helm-buffers-fuzzy-matching t - ) -(global-set-key (kbd "M-x") #'helm-M-x) -(global-set-key (kbd "C-x r b") #'helm-filtered-bookmarks) -(global-set-key (kbd "C-x C-f") #'helm-find-files) -(helm-mode 1) +;; Make ivy go! +(ivy-mode 1) +(counsel-mode 1) + +(setq ivy-use-virtual-buffers t) +(setq enable-recursive-minibuffers t) + +;; Enable fuzzy matching in ivy (requires flx installed for sane +;; ordering) +(setq ivy-re-builders-alist '((t . ivy--regex-fuzzy))) ;; Move files to trash when deleting (setq delete-by-moving-to-trash t) -- cgit 1.4.1