summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-07-07 20:27:10 +0200
committerMartin Polden <mpolden@mpolden.no>2022-07-07 20:27:10 +0200
commit1434fbfa2d60bf8ee7b91993dc055093e0413947 (patch)
treef269f67c8d3d5a08af42ee5614d01cb2152ed146 /lisp
parenta274f95733ede1c6405da702090b4c4b12a67d88 (diff)
avy: give it another go
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-avy.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/lisp/init-avy.el b/lisp/init-avy.el
new file mode 100644
index 0000000..53dd313
--- /dev/null
+++ b/lisp/init-avy.el
@@ -0,0 +1,15 @@
+;;; init-avy.el --- configure avy -*- lexical-binding:t -*-
+;;; Commentary:
+;;; Code:
+
+(use-package avy
+ :ensure t
+ :bind
+ ;; C-c j jumps to char using 2 initial chars
+ (("C-c j". avy-goto-char-2)
+ ;; M-g M-g uses avy-goto-line instead regular goto-line
+ ("M-g M-g" . avy-goto-line)))
+
+(provide 'init-avy)
+
+;;; init-avy.el ends here