diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-17 10:07:27 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-17 10:07:27 +1200 |
commit | 8e6964a1e84a57646c9e6d06ff03ce40a6b810b2 (patch) | |
tree | e7ade30ec199143a7de41f0b655a94df9241c2c8 /vim/vimrc | |
parent | May as well keep a huge amount of history (diff) | |
download | dotfiles-8e6964a1e84a57646c9e6d06ff03ce40a6b810b2.tar.gz dotfiles-8e6964a1e84a57646c9e6d06ff03ce40a6b810b2.zip |
Nitpick: fix indenting in vimrc
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -174,10 +174,10 @@ endif " Strip trailing whitespace with \x if has('eval') function! StripTrailingWhitespace() - let l:search = @/ - %substitute/\s\+$//e - let @/ = l:search - nohlsearch + let l:search = @/ + %substitute/\s\+$//e + let @/ = l:search + nohlsearch endfunction nnoremap <silent> <leader>x :<C-U>call StripTrailingWhitespace()<CR> endif |