From ecbcc19c6d6b1f99be3cdeedb6e24a3004cdb87e Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sat, 4 May 2013 12:26:35 +0300 Subject: [PATCH] Add a few more ace-jump keychords --- README.md | 8 +++++--- core/prelude-global-keybindings.el | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2e4531c..ffb3beb 100644 --- a/README.md +++ b/README.md @@ -262,9 +262,11 @@ If you ever forget any of Projectile's keybindings just do a: Keybinding | Description -------------------|---------------------------------------------- -jj | ace-jump-mode -JJ | prelude-switch-to-previous-buffer -uu | undo-tree-visualize +jj | Jump to the beginning of a word(`ace-jump-word-mode`) +jk | Jump to a character(`ace-jump-char-mode`) +jl | Jump to the beginning of a line(`ace-jump-line-mode`) +JJ | Jump back to previous buffer(`prelude-switch-to-previous-buffer`) +uu | View edits as a tree(`undo-tree-visualize`) ### Automatic package installation diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index b55eac6..1cae597 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -114,7 +114,9 @@ ;; key chords (require 'key-chord) -(key-chord-define-global "jj" 'ace-jump-mode) +(key-chord-define-global "jj" 'ace-jump-word-mode) +(key-chord-define-global "jl" 'ace-jump-line-mode) +(key-chord-define-global "jk" 'ace-jump-char-mode) (key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer) (key-chord-define-global "uu" 'undo-tree-visualize)