summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-09-30 12:36:14 +0200
committerAlan Pearce2019-09-30 12:36:14 +0200
commit8e642290a57d25118bf3c54ba86b4e555dcf18ac (patch)
tree041a10209383efe569ec911d96cd2d23f4d6b60b /emacs
parent82f28d3e93fa5bf6245de7cdac7864f6d204b1e3 (diff)
downloadnixfiles-8e642290a57d25118bf3c54ba86b4e555dcf18ac.tar.lz
nixfiles-8e642290a57d25118bf3c54ba86b4e555dcf18ac.tar.zst
nixfiles-8e642290a57d25118bf3c54ba86b4e555dcf18ac.zip
Emacs: add binding for evil-avy-goto-symbol-1
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 88d0d556..e8fc66d1 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -295,7 +295,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   (:states 'motion
 	   "C-;" #'evil-avy-goto-line)
   (:states 'normal
-	   ";" #'evil-ex))
+	   ";" #'evil-ex)
+  (:states '(normal motion)
+           "g s" #'evil-avy-goto-symbol-1))
 
 (use-package evil-collection
   :after (evil)