]> git.phdru.name Git - dotfiles.git/commitdiff
Move `.vim/autoload/text.vim` -> `.vim/plugin/text.vim`
authorOleg Broytman <phd@phdru.name>
Wed, 20 Dec 2023 11:32:54 +0000 (14:32 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 20 Dec 2023 11:32:54 +0000 (14:32 +0300)
I use these functions quite often, let them be always available.

.vim/plugin/text.vim [moved from .vim/autoload/text.vim with 61% similarity]

similarity index 61%
rename from .vim/autoload/text.vim
rename to .vim/plugin/text.vim
index 16e6c343004eed899ce231e103e66aeeaaf01fe6..8fc16f73a06b5b8ba5f16e03757a9084bc9858e9 100644 (file)
@@ -1,12 +1,12 @@
-function! text#SearchConflictMarkers()
+function! SearchConflictMarkers()
    normal /<<<<<<<\|=======\||||||||\|>>>>>>>
 endfunction
 
-function! text#RemoveTrailingSpaces()
+function! RemoveTrailingSpaces()
     %s/ \+$//
 endfunction
 
-function! text#SqueezeEmptyLines()
+function! SqueezeEmptyLines()
     " Replace multiple consecutive empty lines with just one
     %s/\n\{3,\}/\r\r/
 endfunction