Added counsel to emacs conf

This commit is contained in:
Valentin Gehrke 2017-10-05 08:59:33 +02:00
parent b9a933ee88
commit 5cc194af98

View file

@ -198,6 +198,14 @@
(setq ivy-count-format "(%d/%d) ") (setq ivy-count-format "(%d/%d) ")
(define-key ivy-minibuffer-map (kbd "<C-return>") 'ivy-immediate-done))) (define-key ivy-minibuffer-map (kbd "<C-return>") 'ivy-immediate-done)))
(use-package counsel
:ensure t
:demand t
:config (progn
(global-set-key (kbd "C-c l") 'counsel-locate)
(global-set-key (kbd "C-c m") 'counsel-imenu)
(global-set-key (kbd "C-c _") 'counsel-git-grep)))
;; Quickly open external terminal ;; Quickly open external terminal
(use-package terminal-here (use-package terminal-here
:ensure t :ensure t