about summary refs log tree commit diff
path: root/init/bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-05-06T19·44+0200
committerVincent Ambo <tazjin@gmail.com>2018-05-06T19·44+0200
commit301a9c538df455111ac47c1c75eb29c4912a6093 (patch)
tree824a6e85469e3b27f0c4e377d9325353b5b2fe83 /init/bindings.el
parent85fad035041b09383b82270b005c2e815f2f42a8 (diff)
feat(bindings): Bind counsel-rg to 'C-c r g'
Diffstat (limited to 'init/bindings.el')
-rw-r--r--init/bindings.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/bindings.el b/init/bindings.el
index 775128bcd221..0c9d07bd4241 100644
--- a/init/bindings.el
+++ b/init/bindings.el
@@ -5,13 +5,15 @@
 (define-key global-map (kbd "C--") 'text-scale-decrease)
 
 ;; Use regex searches by default.
-(global-set-key (kbd "C-s") 'isearch-forward-regexp)
 (global-set-key (kbd "\C-r") 'isearch-backward-regexp)
 (global-set-key (kbd "M-%") 'query-replace-regexp)
 (global-set-key (kbd "C-M-s") 'isearch-forward)
 (global-set-key (kbd "C-M-r") 'isearch-backward)
 (global-set-key (kbd "C-M-%") 'query-replace)
 
+;; Counsel stuff:
+(global-set-key (kbd "C-c r g") 'counsel-rg)
+
 ;; Avy mode
 (global-set-key (kbd "M-j") 'avy-goto-char)
 (global-set-key (kbd "M-p") 'avy-pop-mark)