summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.el b/init.el
index e04c0e3..8befc43 100644
--- a/init.el
+++ b/init.el
@@ -596,7 +596,9 @@
(define-key magit-cherry-mode-map "j" #'km/magit-avy-goto-subword-1))
(after 'notmuch
(define-key notmuch-common-keymap "j" #'km/notmuch-avy-goto-subword-1))
- (define-key occur-mode-map "j" #'km/occur-avy-goto-subword-1))
+ (define-key occur-mode-map "j" #'km/occur-avy-goto-subword-1)
+ :config
+ (add-to-list 'avy-dispatch-alist (cons ?w #'km/avy-action-copy-line)))
;;; Buffers and files