aboutsummaryrefslogtreecommitdiffstats
path: root/str.vim
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2013-04-28 15:08:19 +0200
committerPeter Odding <peter@peterodding.com>2013-04-28 15:08:19 +0200
commita7ed49ed589cfe5f84bfeda317d03a874002e1a9 (patch)
treead03ea51d3b2d9154e630c19f3dc2d68f1ddfbd7 /str.vim
parenta744d4c5f0c6086251aab66ec68cb9299869b1e9 (diff)
downloadvim-easytags-a7ed49ed589cfe5f84bfeda317d03a874002e1a9.tar.gz
Change the repository layout to that of a proper Vim plug-in
Diffstat (limited to 'str.vim')
-rw-r--r--str.vim12
1 files changed, 0 insertions, 12 deletions
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 <peter@peterodding.com>
-" 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