about summary refs log tree commit diff
path: root/users/wpcarro
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-02-13T19·04-0800
committerclbot <clbot@tvl.fyi>2022-02-13T19·09+0000
commit8df073a1e088cd86e9851e8b0a12f12bd50793c0 (patch)
tree2ff5b8aefdae08c38c1438c92e69ed5e7a4934f0 /users/wpcarro
parente855d140bd2d613d864bab4f3138cf931eb4f79f (diff)
feat(wpcarro/emacs): support avy r/3820
Trying out this workflow for awhile to see if I save some keystrokes.

Change-Id: I28532be04b1de971559c8df5a3717facbdfc4f00
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5278
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/keybindings.el7
-rw-r--r--users/wpcarro/emacs/default.nix1
2 files changed, 8 insertions, 0 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
index c34088286f4e..c8be25aa0cd8 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
@@ -49,6 +49,7 @@
 (require 'evil-surround)
 (require 'key-chord)
 (require 'edebug)
+(require 'avy)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; General Keybindings
@@ -409,5 +410,11 @@
  "K" #'refine-delete
  "q" #'kill-this-buffer)
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; avy
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(global-set-key (kbd "C-;") #'avy-goto-char)
+
 (provide 'keybindings)
 ;;; keybindings.el ends here
diff --git a/users/wpcarro/emacs/default.nix b/users/wpcarro/emacs/default.nix
index a010784f8dbd..0c62c4602cd9 100644
--- a/users/wpcarro/emacs/default.nix
+++ b/users/wpcarro/emacs/default.nix
@@ -33,6 +33,7 @@ let
     ]) ++
 
     (with epkgs.melpaPackages; [
+      avy
       org-bullets
       sly
       notmuch