]> code.delx.au - dotemacs/commitdiff
avy jump key binding improvements
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 30 Jul 2016 11:03:56 +0000 (21:03 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 30 Jul 2016 11:29:03 +0000 (21:29 +1000)
README.md
lisp/my-keys.el

index 65a92e3cac6136f7192075dbc95b48da5dc3757a..09fcadb2edfc19d2c4a0564862b1658a22d953b0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -82,9 +82,9 @@ M-x make-frame                                  New frame (X11 window)
 M-m                                             Jump back to start of indentation
 M-r                                             Jump to window top/bottom/middle
 M-g Tab                                         Jump to column
 M-m                                             Jump back to start of indentation
 M-r                                             Jump to window top/bottom/middle
 M-g Tab                                         Jump to column
-M-g M-j                                         Jump to charactor
-M-g M-l                                         Jump to charactor on current line
-M-g M-w                                         Jump to word by first character
+M-g f                                           Jump to charactor on current line
+M-g g                                           Jump to visible line or any line
+M-g j                                           Jump to word by first character
 M-g M-g                                         Jump to visible line or any line
 C-a                                             Beginning of line
 C-e                                             End of line
 M-g M-g                                         Jump to visible line or any line
 C-a                                             Beginning of line
 C-e                                             End of line
index 16772e252dd766aa7fb1a1f91d01bcc0e872293f..7bb45ce6aa6060bdeb39da302014083122137694 100644 (file)
 (global-set-key (kbd "<C-right>") 'windmove-right)
 
 ;; Movement
 (global-set-key (kbd "<C-right>") 'windmove-right)
 
 ;; Movement
-(global-set-key (kbd "M-g M-j") 'avy-goto-char-timer)
-(global-set-key (kbd "M-g M-l") 'avy-goto-char-in-line)
-(global-set-key (kbd "M-g M-w") 'avy-goto-word-1)
+(global-set-key (kbd "M-g f") 'avy-goto-char-in-line)
+(global-set-key (kbd "M-g g") 'avy-goto-line)
 (global-set-key (kbd "M-g M-g") 'avy-goto-line)
 (global-set-key (kbd "M-g M-g") 'avy-goto-line)
+(global-set-key (kbd "M-g j") 'avy-goto-word-1)
 
 ;; Text formatting
 (global-set-key (kbd "M-/") 'hippie-expand)
 
 ;; Text formatting
 (global-set-key (kbd "M-/") 'hippie-expand)