From 2932ac701abe1261a97477fe5f44a604e1881e6b Mon Sep 17 00:00:00 2001 From: yan Date: Fri, 6 Jan 2012 10:31:24 -0800 Subject: [PATCH] Change whitespace cleaner to ,w --- README.md | 2 +- vim/plugin/settings/whitespace-killer.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc7a8fc5..7aee1376 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke * ,cc - (Current command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc. * ,yw - yank a word from anywhere within the word (so you don't have to go to the beginning of it) * ,ow - overwrite a word with whatever is in your yank buffer - you can be anywhere on the word. saves having to visually select it - * ,ws - strip trailing whitespaces + * ,w - strip trailing whitespaces * sj - split a line such as a hash {:foo => {:bar => :baz}} into a multiline hash (j = down) * sk - unsplit a link (k = up) * Cmd-Shift-A - align things (type a character/expression to align by, works in visual mode or by itself) diff --git a/vim/plugin/settings/whitespace-killer.vim b/vim/plugin/settings/whitespace-killer.vim index d16370a0..b0c2703d 100644 --- a/vim/plugin/settings/whitespace-killer.vim +++ b/vim/plugin/settings/whitespace-killer.vim @@ -12,4 +12,4 @@ function! StripTrailingWhitespaces() call cursor(l, c) endfunction command! StripTrailingWhitespaces call StripTrailingWhitespaces() -nmap ,ws :StripTrailingWhitespaces +nmap ,w :StripTrailingWhitespaces