diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2017-04-27 09:02:01 -0700 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2017-04-27 09:02:01 -0700 |
| commit | 9fada07f33f142392365d0ef7557b58c23abcbae (patch) | |
| tree | 741e3096012d9d194a5a865261b9050a37808168 /emacs.d/init.el | |
| parent | [Emacs] small adjustment to wabi-sabi. (diff) | |
| download | emacs.d-9fada07f33f142392365d0ef7557b58c23abcbae.tar.gz | |
[Emacs] update binding for ag
Diffstat (limited to '')
| -rw-r--r-- | emacs.d/init.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index dc068ec..36208b2 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -47,8 +47,14 @@ ;; interface to the 'ag' tool :ensure t :commands (counsel-ag ag) - :init - (setq ag-reuse-buffers t + :bind (:map ag-mode-map + ("p" . compilation-previous-error) + ("n" . compilation-next-error) + ("N" . compilation-next-file) + ("P" . compilation-previous-file)) + :config + (setq ag-highlight-search t + ag-reuse-buffers t ag-reuse-window t)) (use-package autorevert |
