From: Oleg Broytman Date: Mon, 1 Jan 2024 15:37:04 +0000 (+0300) Subject: .vim: Rename `RemoveTrailingSpaces` -> `StripTrailingSpaces` X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=f6f7a0745ed146812c1e683d197e3cde4d08dc84 .vim: Rename `RemoveTrailingSpaces` -> `StripTrailingSpaces` --- diff --git a/.vim/plugin/text.vim b/.vim/plugin/text.vim index 8fc16f7..77990ed 100644 --- a/.vim/plugin/text.vim +++ b/.vim/plugin/text.vim @@ -2,7 +2,7 @@ function! SearchConflictMarkers() normal /<<<<<<<\|=======\||||||||\|>>>>>>> endfunction -function! RemoveTrailingSpaces() +function! StripTrailingSpaces() %s/ \+$// endfunction