Add a few more ace-jump keychords

This commit is contained in:
Bozhidar Batsov 2013-05-04 12:26:35 +03:00
parent f8bd9a6a78
commit ecbcc19c6d
2 changed files with 8 additions and 4 deletions

View file

@ -262,9 +262,11 @@ If you ever forget any of Projectile's keybindings just do a:
Keybinding | Description
-------------------|----------------------------------------------
<kbd>jj</kbd> | ace-jump-mode
<kbd>JJ</kbd> | prelude-switch-to-previous-buffer
<kbd>uu</kbd> | undo-tree-visualize
<kbd>jj</kbd> | Jump to the beginning of a word(`ace-jump-word-mode`)
<kbd>jk</kbd> | Jump to a character(`ace-jump-char-mode`)
<kbd>jl</kbd> | Jump to the beginning of a line(`ace-jump-line-mode`)
<kbd>JJ</kbd> | Jump back to previous buffer(`prelude-switch-to-previous-buffer`)
<kbd>uu</kbd> | View edits as a tree(`undo-tree-visualize`)
### Automatic package installation

View file

@ -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)