From 8df073a1e088cd86e9851e8b0a12f12bd50793c0 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 13 Feb 2022 11:04:54 -0800 Subject: feat(wpcarro/emacs): support avy 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 Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/wpc/keybindings.el | 7 +++++++ users/wpcarro/emacs/default.nix | 1 + 2 files changed, 8 insertions(+) (limited to 'users/wpcarro/emacs') diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el index c34088286f..c8be25aa0c 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 a010784f8d..0c62c4602c 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 -- cgit 1.4.1