diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-05-01T14·01+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-05-01T14·01+0200 |
commit | 72a33b9156ac1b60703659c3ff204a501f67599f (patch) | |
tree | 161b2674ffcd0a56bf6f360807dea9bb48cd6ccf /init/settings.el | |
parent | eaac33465d7885ec71f161ad769f04103ff2f58f (diff) |
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.
Diffstat (limited to 'init/settings.el')
-rw-r--r-- | init/settings.el | 26 |
1 files changed, 10 insertions, 16 deletions
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) |