projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
60ad735
)
vimrc: add whitespace stripper
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Wed, 27 Oct 2010 23:48:17 +0000 (16:48 -0700)
committer
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Sun, 2 Jan 2011 20:35:54 +0000 (12:35 -0800)
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
1761662
..
62f80bc
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-54,6
+54,9
@@
map ,,# :s/^#//<CR>:nohlsearch<CR>
map ," :s/^/\"/<CR>:nohlsearch<CR>
map ,," :s/^\"//<CR>:nohlsearch<CR>
+" whitespace stripper
+map ,w :s/[\t ][\t ]*$//<CR>
+
"*************** shortcuts **************
map \b :ConqueTermSplit bash<CR>
map \B :ConqueTermVSplit bash<CR>