From a7ed49ed589cfe5f84bfeda317d03a874002e1a9 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sun, 28 Apr 2013 15:08:19 +0200 Subject: Change the repository layout to that of a proper Vim plug-in --- str.vim | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 str.vim (limited to 'str.vim') diff --git a/str.vim b/str.vim deleted file mode 100644 index 74a05aa..0000000 --- a/str.vim +++ /dev/null @@ -1,12 +0,0 @@ -" Vim auto-load script -" Author: Peter Odding -" Last Change: June 14, 2011 -" URL: http://peterodding.com/code/vim/misc/ - -" Trim whitespace from start and end of string. - -function! xolox#misc#str#trim(s) - return substitute(a:s, '^\_s*\(.\{-}\)\_s*$', '\1', '') -endfunction - -" vim: ts=2 sw=2 et -- cgit v1.2.3