Remove problematic kk keychords

This commit is contained in:
Bozhidar Batsov 2013-05-23 11:10:55 +03:00
parent 08ad6bbfa5
commit 0e4b66d07a
2 changed files with 9 additions and 5 deletions

View file

@ -266,8 +266,6 @@ 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`)
##### Disabling key-chords
@ -277,7 +275,15 @@ in which case you can disable the binding in your `personal.el` file by setting
its command to `nil`. For example, to disable the `kk` key-chord add the
following line:
(key-chord-define-global "kk" nil)
```lisp
(key-chord-define-global "jj" nil)
```
If you're an `evil-mode` user you'll probably do well to disable `key-chord-mode` altogether:
```lisp
(key-chord-mode -1)
```
## Automatic package installation

View file

@ -117,8 +117,6 @@
(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 "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)