Browse Source

Remove ending spaces/tabs everywhere

pull/86/head
Oleg Kostyuk 15 years ago
parent
commit
e42b626cda
7 changed files with 26 additions and 26 deletions
  1. +4
    -4
      README.md
  2. +1
    -1
      autoload/vundle.vim
  3. +1
    -1
      autoload/vundle/config.vim
  4. +3
    -3
      autoload/vundle/installer.vim
  5. +4
    -4
      autoload/vundle/scripts.vim
  6. +11
    -11
      doc/vundle.txt
  7. +2
    -2
      test/vimrc

+ 4
- 4
README.md View File

@ -24,7 +24,7 @@
call vundle#rc() call vundle#rc()
" let Vundle manage Vundle " let Vundle manage Vundle
" required!
" required!
Bundle 'gmarik/vundle' Bundle 'gmarik/vundle'
" My Bundles here: " My Bundles here:
@ -41,7 +41,7 @@
Bundle 'git://git.wincent.com/command-t.git' Bundle 'git://git.wincent.com/command-t.git'
" ... " ...
filetype plugin indent on " required!
filetype plugin indent on " required!
" "
" Brief help " Brief help
" :BundleList - list configured bundles " :BundleList - list configured bundles
@ -56,7 +56,7 @@
3. Install configured bundles: 3. Install configured bundles:
Launch `vim`, run `:BundleInstall`.
Launch `vim`, run `:BundleInstall`.
*Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows) *Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows)
@ -67,7 +67,7 @@
[Vundle] allows to: [Vundle] allows to:
- keep track and configure your scripts right in `.vimrc` - keep track and configure your scripts right in `.vimrc`
- [install] configured scripts (aka bundle)
- [install] configured scripts (aka bundle)
- [update] configured scripts - [update] configured scripts
- [search] by name [all available vim scripts] - [search] by name [all available vim scripts]
- [clean] unused scripts up - [clean] unused scripts up


+ 1
- 1
autoload/vundle.vim View File

@ -22,7 +22,7 @@ com! -nargs=0 -bang BundleList
com! -nargs=? -bang BundleClean com! -nargs=? -bang BundleClean
\ call vundle#installer#clean('!' == '<bang>') \ call vundle#installer#clean('!' == '<bang>')
com! -nargs=0 BundleDocs
com! -nargs=0 BundleDocs
\ call vundle#installer#helptags(g:bundles) \ call vundle#installer#helptags(g:bundles)


+ 1
- 1
autoload/vundle/config.vim View File

@ -48,7 +48,7 @@ func! s:parse_name(arg)
let uri .= '.git' let uri .= '.git'
endif endif
let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i') let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i')
elseif arg =~? '^\s*\(git@\|git://\)\S\+'
elseif arg =~? '^\s*\(git@\|git://\)\S\+'
\ || arg =~? '\(file\|https\?\)://' \ || arg =~? '\(file\|https\?\)://'
\ || arg =~? '\.git\s*$' \ || arg =~? '\.git\s*$'
let uri = arg let uri = arg


+ 3
- 3
autoload/vundle/installer.vim View File

@ -53,7 +53,7 @@ func! vundle#installer#run(func_name, name, ...) abort
redraw! redraw!
if 'updated' == status
if 'updated' == status
echo n.' installed' echo n.' installed'
elseif 'todate' == status elseif 'todate' == status
echo n.' already installed' echo n.' already installed'
@ -73,7 +73,7 @@ func! vundle#installer#run(func_name, name, ...) abort
return status return status
endf endf
func! s:sign(status)
func! s:sign(status)
if (!has('signs')) if (!has('signs'))
return return
endif endif
@ -124,7 +124,7 @@ endf
func! vundle#installer#clean(bang) abort func! vundle#installer#clean(bang) abort
let bundle_dirs = map(copy(g:bundles), 'v:val.path()')
let bundle_dirs = map(copy(g:bundles), 'v:val.path()')
let all_dirs = split(globpath(g:bundle_dir, '*'), "\n") let all_dirs = split(globpath(g:bundle_dir, '*'), "\n")
let x_dirs = filter(all_dirs, '0 > index(bundle_dirs, v:val)') let x_dirs = filter(all_dirs, '0 > index(bundle_dirs, v:val)')


+ 4
- 4
autoload/vundle/scripts.vim View File

@ -54,7 +54,7 @@ func! vundle#scripts#view(title, headers, results)
setl noswapfile setl noswapfile
setl cursorline setl cursorline
setl nonu ro noma ignorecase
setl nonu ro noma ignorecase
if (exists('&relativenumber')) | setl norelativenumber | endif if (exists('&relativenumber')) | setl norelativenumber | endif
setl ft=vundle setl ft=vundle
@ -65,13 +65,13 @@ func! vundle#scripts#view(title, headers, results)
com! -buffer -bang -nargs=1 DeleteBundle com! -buffer -bang -nargs=1 DeleteBundle
\ call vundle#installer#run('vundle#installer#delete', split(<q-args>,',')[0], ['!' == '<bang>', <args>]) \ call vundle#installer#run('vundle#installer#delete', split(<q-args>,',')[0], ['!' == '<bang>', <args>])
com! -buffer -bang -nargs=? InstallAndRequireBundle
com! -buffer -bang -nargs=? InstallAndRequireBundle
\ call vundle#installer#run('vundle#installer#install_and_require', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>]) \ call vundle#installer#run('vundle#installer#install_and_require', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>])
com! -buffer -bang -nargs=? InstallBundle com! -buffer -bang -nargs=? InstallBundle
\ call vundle#installer#run('vundle#installer#install', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>]) \ call vundle#installer#run('vundle#installer#install', split(<q-args>,',')[0], ['!' == '<bang>', <q-args>])
com! -buffer -bang -nargs=0 InstallHelptags
com! -buffer -bang -nargs=0 InstallHelptags
\ call vundle#installer#run('vundle#installer#docs', 'helptags', []) \ call vundle#installer#run('vundle#installer#docs', 'helptags', [])
com! -buffer -nargs=0 VundleLog call s:view_log() com! -buffer -nargs=0 VundleLog call s:view_log()
@ -112,7 +112,7 @@ func! s:fetch_scripts(to)
elseif executable("wget") elseif executable("wget")
let temp = shellescape(tempname()) let temp = shellescape(tempname())
let cmd = 'wget -q -O '.temp.' '.l:vim_scripts_json. ' && mv -f '.temp.' '.shellescape(a:to) let cmd = 'wget -q -O '.temp.' '.l:vim_scripts_json. ' && mv -f '.temp.' '.shellescape(a:to)
if (has('win32') || has('win64'))
if (has('win32') || has('win64'))
let cmd = substitute(cmd, 'mv -f ', 'mv /Y ') " change force flag let cmd = substitute(cmd, 'mv -f ', 'mv /Y ') " change force flag
let cmd = '"'.cmd.'"' " enclose in quotes so && joined cmds work let cmd = '"'.cmd.'"' " enclose in quotes so && joined cmds work
end end


+ 11
- 11
doc/vundle.txt View File

@ -28,7 +28,7 @@ Vundle is a short cut for Vim bundle and is the Vim plug-in manager.
Vundle allows to: Vundle allows to:
- keep track and configure your scripts right in `.vimrc` - keep track and configure your scripts right in `.vimrc`
- install configured scripts (aka bundle)
- install configured scripts (aka bundle)
- update configured scripts - update configured scripts
- search [all available vim scripts] by name - search [all available vim scripts] by name
- clean up from unused scripts - clean up from unused scripts
@ -38,7 +38,7 @@ Also *Vundle* :
- manages runtime path of your installed scripts - manages runtime path of your installed scripts
- regenerates helptags automatically - regenerates helptags automatically
Vundle takes advantage of [vim-scripts.org](http://vim-scripts.org)
Vundle takes advantage of [vim-scripts.org](http://vim-scripts.org)
in order to install/search [all available vim scripts] in order to install/search [all available vim scripts]
3. QUICK START ~ 3. QUICK START ~
@ -54,7 +54,7 @@ in order to install/search [all available vim scripts]
set nocompatible " be iMproved set nocompatible " be iMproved
filetype off " required! filetype off " required!
set rtp+=~/.vim/vundle.git/
set rtp+=~/.vim/vundle.git/
call vundle#rc() call vundle#rc()
" let Vundle manage Vundle " let Vundle manage Vundle
@ -75,7 +75,7 @@ in order to install/search [all available vim scripts]
" ... " ...
filetype plugin indent on " required! filetype plugin indent on " required!
" or
" or
" filetype plugin on " to not use the indentation settings set by plugins " filetype plugin on " to not use the indentation settings set by plugins
3) Install configured bundles: 3) Install configured bundles:
@ -84,7 +84,7 @@ in order to install/search [all available vim scripts]
:BundleInstall :BundleInstall
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for
each configured repo to `~/.vim/bundle/`. each configured repo to `~/.vim/bundle/`.
4. SCRIPTS ~ 4. SCRIPTS ~
@ -94,7 +94,7 @@ each configured repo to `~/.vim/bundle/`.
Before installing scripts they need to be configured. It's done using `Bundle` Before installing scripts they need to be configured. It's done using `Bundle`
command in `.vimrc`: > command in `.vimrc`: >
Bundle 'git_repo_uri' " 'git_repo_uri' should be a valid uri to git repository
Bundle 'git_repo_uri' " 'git_repo_uri' should be a valid uri to git repository
or > or >
Bundle 'script_name' " 'script-name' should be an official script name (see |vundle-scripts-search| ) Bundle 'script_name' " 'script-name' should be an official script name (see |vundle-scripts-search| )
@ -122,7 +122,7 @@ BundleInstall allows to install scripts by name:>
:BundleInstall unite.vim :BundleInstall unite.vim
installs and activates unite.vim. You can use Tab to auto-complete known script names. installs and activates unite.vim. You can use Tab to auto-complete known script names.
NOTE: installation, as just described, doesn't automatically configure scripts;
NOTE: installation, as just described, doesn't automatically configure scripts;
you have to configure them manually. you have to configure them manually.
4.3 UPDATE SCRIPTS ~ 4.3 UPDATE SCRIPTS ~
@ -170,11 +170,11 @@ run >
:BundleClean :BundleClean
requires confirmation before removal of unused script-dirs from your `.vim/bundle`.
requires confirmation before removal of unused script-dirs from your `.vim/bundle`.
*BundleClean!* *BundleClean!*
> >
:BundleClean!
:BundleClean!
removes unused scripts with no questions. removes unused scripts with no questions.
@ -201,8 +201,8 @@ content: >
Bundle 'unite-colorscheme' Bundle 'unite-colorscheme'
As the first line(starting with `"Keymap:`) shows, certain actions may be applied As the first line(starting with `"Keymap:`) shows, certain actions may be applied
to selected bundles . Move cursor over line `Bundle 'unite.vim'` and press i
key(install, see |vundle-keymappings| for more details).
to selected bundles . Move cursor over line `Bundle 'unite.vim'` and press i
key(install, see |vundle-keymappings| for more details).
After unite.vim is installed - `:Unite file` command should be After unite.vim is installed - `:Unite file` command should be
available to prove 'unite.vim' availability. available to prove 'unite.vim' availability.


+ 2
- 2
test/vimrc View File

@ -2,8 +2,8 @@
set nocompatible set nocompatible
let root = '/tmp/vundle_bundles/' let root = '/tmp/vundle_bundles/'
let src = 'http://github.com/gmarik/vundle.git'
" let src = '~/.vim/bundle/vundle/.git'
let src = 'http://github.com/gmarik/vundle.git'
" let src = '~/.vim/bundle/vundle/.git'
if !isdirectory(expand(root).'/vundle') if !isdirectory(expand(root).'/vundle')
exec '!git clone '.src.' '.root.'/vundle' exec '!git clone '.src.' '.root.'/vundle'


Loading…
Cancel
Save