summaryrefslogtreecommitdiff
path: root/evil-xref.el
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2017-11-28 22:11:18 -0800
committerJames Nguyen <james@jojojames.com>2017-11-28 22:11:18 -0800
commit620b7f29492069f42f189237c29fd6602894e491 (patch)
tree7d9efb988ed65d85b61c4fffd665282d738d91bc /evil-xref.el
parent85268777250288630433f0d0b18e2fbee29bd1ae (diff)
Xref: Tweak
Diffstat (limited to 'evil-xref.el')
-rw-r--r--evil-xref.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/evil-xref.el b/evil-xref.el
index ebfdc1b..5a022ee 100644
--- a/evil-xref.el
+++ b/evil-xref.el
@@ -33,15 +33,17 @@
(defun evil-xref-setup ()
"Set up `evil' bindings for `xref'."
(evil-define-key 'normal xref--xref-buffer-mode-map
- "j" 'xref-next-line
- "k" 'xref-prev-line
"gj" 'xref-next-line
"gk" 'xref-prev-line
(kbd "C-j") 'xref-next-line
(kbd "C-k") 'xref-prev-line
+ "]" 'xref-next-line
+ "[" 'xref-prev-line
"r" 'xref-query-replace-in-results
(kbd "RET") 'xref-goto-xref
- "o" 'xref-show-location-at-point))
+ (kbd "S-<return>") 'xref-show-location-at-point
+ "o" 'xref-show-location-at-point
+ "go" 'xref-show-location-at-point))
(provide 'evil-xref)
;;; evil-xref.el ends here