summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2015-03-23 04:51:58 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2015-03-23 04:51:58 (GMT)
commit0d7d772701b930d9ec8870c0ec48912d3865b709 (patch)
tree16f98d8852762f6472417597d69c3e5bba459af4
parent8c3336f0de47ca9ce0d9b30d57be61813a5d8418 (diff)
downloaddotemacs-0d7d772701b930d9ec8870c0ec48912d3865b709.zip
dotemacs-0d7d772701b930d9ec8870c0ec48912d3865b709.tar.gz
dotemacs-0d7d772701b930d9ec8870c0ec48912d3865b709.tar.bz2
Interface to git grep
-rw-r--r--lisp/ravi-init-helm.el8
-rw-r--r--lisp/ravi-init-navigation.el1
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ravi-init-helm.el b/lisp/ravi-init-helm.el
index 89cc4b1..e5a5f21 100644
--- a/lisp/ravi-init-helm.el
+++ b/lisp/ravi-init-helm.el
@@ -60,6 +60,14 @@
(bind-key "q" 'helm-proc helm-command-map))
:ensure t)
+ (use-package helm-git-grep
+ :commands (helm-git-grep-from-isearch helm-git-grep-from-helm)
+ :init
+ (progn
+ (bind-key "C-c g" 'helm-git-grep-from-helm helm-map)
+ (bind-key "C-c g" 'helm-git-grep-from-isearch isearch-mode-map))
+ :ensure t)
+
(use-package helm-ag
:ensure t))
:if ravi/use-helm-instead-of-ido
diff --git a/lisp/ravi-init-navigation.el b/lisp/ravi-init-navigation.el
index d8a1441..39bd91a 100644
--- a/lisp/ravi-init-navigation.el
+++ b/lisp/ravi-init-navigation.el
@@ -54,6 +54,7 @@
(progn
(setq ace-isearch-use-ace-jump nil) ; prefer dedicated key for ace-jump
(global-ace-isearch-mode +1))
+ :disabled t ; helm-swoop has a dedicated key now
:ensure t)
(use-package jump-char