Add counsel config, replaces/extends smex

This commit is contained in:
Adam Goldsmith 2016-01-20 21:38:08 -05:00
parent 55bad29d02
commit 76e68d3a6a

View File

@ -97,10 +97,18 @@
'(define-key isearch-mode-map (kbd "C-'") 'avy-isearch)) '(define-key isearch-mode-map (kbd "C-'") 'avy-isearch))
:bind ("C-;" . avy-goto-char) :bind ("C-;" . avy-goto-char)
:bind ("C-'" . avy-goto-char-2)) :bind ("C-'" . avy-goto-char-2))
(use-package smex :quelpa (use-package smex :quelpa
:bind ("M-x" . smex) :bind ("M-X" . smex-major-mode-commands))
:bind ("M-X" . smex-major-mode-commands)
:config (global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)) ;;normal M-x. (use-package counsel :quelpa
:config
(setq ivy-re-builders-alist
'((counsel-M-x . ivy--regex-fuzzy)
(t . ivy--regex-plus)))
(assq-delete-all 'counsel-M-x ivy-initial-inputs-alist)
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command) ;;normal M-x.
:bind ("M-x" . counsel-M-x))
(use-package ace-window :quelpa (use-package ace-window :quelpa
:bind ("M-p" . ace-window)) :bind ("M-p" . ace-window))