mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(navigation): Improve helm-ag keybindings
Have both `C-c C-'` and `C-c '` bound to `helm-do-ag-project-root`, so it can be triggered from a terminal. As `C-'` cannot be sent to emacs due to limitations of terminal emulators. Also move `helm-do-ag` from `C-c C-s` to `<helm-prefix> a`, now that the `helm-command-map` can reliably be used. This effectively means you trigger `helm-do-ag` with `C-c h a` right now.
This commit is contained in:
@@ -12,10 +12,12 @@
|
||||
:straight (:type git :host github :repo "emacsorphanage/helm-ag"
|
||||
:fork (:host github :repo "jimeh/helm-ag"
|
||||
:branch "personal-patches"))
|
||||
|
||||
:after (helm-config)
|
||||
:bind
|
||||
("C-c C-s" . helm-do-ag)
|
||||
("C-x '" . helm-do-ag-project-root)
|
||||
("C-x C-'" . helm-do-ag-project-root)
|
||||
(:map helm-command-map
|
||||
("a" . helm-do-ag))
|
||||
|
||||
:custom
|
||||
(helm-ag-base-command "rg --no-heading")
|
||||
|
||||
Reference in New Issue
Block a user