summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-06-10 21:21:58 -0400
committerKyle Meyer <kyle@kyleam.com>2015-06-10 21:21:58 -0400
commit45ff23bf3ce141f898c625dfd74ee63a9a40101d (patch)
tree4df80a198e58b434a0d62b9c9c7c6899a6d4ff19
parent81c73bb328778693459819a643851292c5c7abcc (diff)
downloademacs.d-45ff23bf3ce141f898c625dfd74ee63a9a40101d.tar.gz
Use custom avy-goto-subword-1 for all bindings
Only changed main binding in f88d106fc3.
-rw-r--r--lisp/init-git.el6
-rw-r--r--lisp/init-mail.el2
-rw-r--r--lisp/init-view.el2
3 files changed, 5 insertions, 5 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 225330b..06aa5b7 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -283,9 +283,9 @@ the file name if NO-DIRECTORY is non-nil."
(define-key magit-file-section-map (kbd "C-j") 'magit-diff-visit-file-worktree)
(define-key magit-hunk-section-map (kbd "C-j") 'magit-diff-visit-file-worktree)
- (define-key magit-log-mode-map "j" 'avy-goto-subword-1)
- (define-key magit-refs-mode-map "j" 'avy-goto-subword-1)
- (define-key magit-cherry-mode-map "j" 'avy-goto-subword-1)
+ (define-key magit-log-mode-map "j" 'km/avy-goto-subword-1)
+ (define-key magit-refs-mode-map "j" 'km/avy-goto-subword-1)
+ (define-key magit-cherry-mode-map "j" 'km/avy-goto-subword-1)
(define-key km/git-map "." 'km/magit-show-commit-at-point)
(define-key km/git-map "e" 'km/magit-commit-extend-all)
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
index 725a5bd..c4d3b93 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-mail.el
@@ -96,7 +96,7 @@ is off."
(defun km/gnus-avy-goto-subword-and-select ()
(interactive)
- (call-interactively #'avy-goto-subword-1)
+ (call-interactively #'km/avy-goto-subword-1)
(gnus-summary-scroll-up 0))
(defun km/gnus-follow-last-message-link (copy)
diff --git a/lisp/init-view.el b/lisp/init-view.el
index 9a4536c..e80160f 100644
--- a/lisp/init-view.el
+++ b/lisp/init-view.el
@@ -6,7 +6,7 @@
(define-key view-mode-map "b" 'backward-word)
(define-key view-mode-map "]" 'forward-paragraph)
(define-key view-mode-map "[" 'backward-paragraph)
- (define-key view-mode-map "j" 'avy-goto-subword-1))
+ (define-key view-mode-map "j" 'km/avy-goto-subword-1))
(key-chord-define-global "hq" 'view-mode)