diff options
author | bnewbold <bryan@octopart.com> | 2011-11-25 21:37:57 -0500 |
---|---|---|
committer | bnewbold <bryan@octopart.com> | 2011-11-25 21:37:57 -0500 |
commit | 1e101f98c410a90dbe21eed29a927c42060715a0 (patch) | |
tree | 71ba337bf71773efbde2f528a0328b004239399b | |
parent | ac9c2969788a89bb122f19285679c0bc6f748ca4 (diff) | |
download | knowledge-1e101f98c410a90dbe21eed29a927c42060715a0.tar.gz knowledge-1e101f98c410a90dbe21eed29a927c42060715a0.zip |
remove whitespace vim one-line
-rw-r--r-- | software/vim.page | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/software/vim.page b/software/vim.page index c0d339f..f4b7e95 100644 --- a/software/vim.page +++ b/software/vim.page @@ -61,3 +61,8 @@ If you accidently opened a file you can't write to, you can write out as root using:: :w !sudo tee % + +Strip all trailing whitespace from a file:: + + :%s/\s\+$// + |