aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 3887c11b..ae1b37d3 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -13,7 +13,7 @@
" something like this to strip out all the blank lines and lines with only
" comments:
"
-" :v/^\s*[^"]/d
+" :g/\m^$\|^\s*"/d
"
" This file should be saved as "vimrc" in the user runtime directory. On
" Unix-like operating systems, this is ~/.vim; on Windows, it's ~/vimfiles.