From 01c8da8385c438db394fb02446227eb28e07ad9c Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 19 May 2013 22:14:36 +0300 Subject: [PATCH] Bind `KK` to `delete-horizontal-space` --- README.md | 2 ++ core/prelude-global-keybindings.el | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index ffb3beb..94fc39f 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,8 @@ Keybinding | Description 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`) +kk | Delete tabs and spaces around point except one(`just-one-space`) +KK | Delete tabs and spaces around point(`delete-horizontal-space`) 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 7d7ccfd..d937ded 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -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)