Bind KK to delete-horizontal-space

This commit is contained in:
Bozhidar Batsov 2013-05-19 22:14:36 +03:00
parent c058e3c473
commit 01c8da8385
2 changed files with 3 additions and 0 deletions

View file

@ -266,6 +266,8 @@ Keybinding | Description
<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>kk</kbd> | Delete tabs and spaces around point except one(`just-one-space`)
<kbd>KK</kbd> | Delete tabs and spaces around point(`delete-horizontal-space`)
<kbd>uu</kbd> | View edits as a tree(`undo-tree-visualize`)
### Automatic package installation

View file

@ -118,6 +118,7 @@
(key-chord-define-global "jl" 'ace-jump-line-mode)
(key-chord-define-global "jk" 'ace-jump-char-mode)
(key-chord-define-global "kk" 'just-one-space)
(key-chord-define-global "KK" 'delete-horizontal-space)
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
(key-chord-define-global "uu" 'undo-tree-visualize)