summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
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