From: James Bunton Date: Fri, 28 Apr 2017 14:48:01 +0000 (+1000) Subject: counsel-grep-or-swiper and counsel-locate X-Git-Url: https://code.delx.au/dotemacs/commitdiff_plain/6d8bc18ce1c2368c6c1c0cab0e62b8d7475ebbf4 counsel-grep-or-swiper and counsel-locate --- diff --git a/lisp/my-keys.el b/lisp/my-keys.el index ea2218e..6f5d732 100644 --- a/lisp/my-keys.el +++ b/lisp/my-keys.el @@ -8,13 +8,14 @@ (global-set-key (kbd "M-x") 'counsel-M-x) ;; Search -(global-set-key (kbd "C-s") 'swiper) +(global-set-key (kbd "C-s") 'counsel-grep-or-swiper) (global-set-key (kbd "C-r") 'ivy-resume) ;; Files/buffers (global-set-key (kbd "C-x C-f") 'counsel-find-file) (global-set-key (kbd "C-x f") 'counsel-git) (global-set-key (kbd "C-x g") 'counsel-git-grep) +(global-set-key (kbd "C-x l") 'counsel-locate) (global-set-key (kbd "C-x c") 'my/kill-buffers-not-in-frame) (global-set-key (kbd "C-x C-b") 'ibuffer) (global-set-key (kbd "C-x C-r") 'counsel-recentf)