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