]> git.phdru.name Git - dotfiles.git/blob - .vim/plugin/text.vim
8fc16f73a06b5b8ba5f16e03757a9084bc9858e9
[dotfiles.git] / .vim / plugin / text.vim
1 function! SearchConflictMarkers()
2    normal /<<<<<<<\|=======\||||||||\|>>>>>>>
3 endfunction
4
5 function! RemoveTrailingSpaces()
6     %s/ \+$//
7 endfunction
8
9 function! SqueezeEmptyLines()
10     " Replace multiple consecutive empty lines with just one
11     %s/\n\{3,\}/\r\r/
12 endfunction