Compare commits
12 Commits
9a38216a1c
...
5548a1a937
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5548a1a937 | ||
|
|
5603c48b6f | ||
|
|
9c6c94e317 | ||
|
|
7f8abe5258 | ||
|
|
0765c5c4f4 | ||
|
|
361ab8fe22 | ||
|
|
6845440440 | ||
|
|
4a9d06e948 | ||
|
|
ef17e287e1 | ||
|
|
b255382d62 | ||
|
|
8d6cb1bcbf | ||
|
|
d13b3d2094 |
@@ -50,11 +50,13 @@
|
|||||||
|
|
||||||
2. Set up [Vundle]:
|
2. Set up [Vundle]:
|
||||||
|
|
||||||
` git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`
|
```bash
|
||||||
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
```
|
||||||
|
|
||||||
3. Configure Plugins:
|
3. Configure Plugins:
|
||||||
|
|
||||||
Put this at the top of your `.vimrc` to use Vundle. Remove plugins you don't need, they are for illustration purposes.
|
Put this at the top of your `.vimrc` to use Vundle. You may have to create a `.vimrc` file if it doesn't already exist at `~/.vimrc`. Remove plugins you don't need, they are for illustration purposes.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
set nocompatible " be iMproved, required
|
set nocompatible " be iMproved, required
|
||||||
|
|||||||
191
README_SW.md
Normal file
191
README_SW.md
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
## [Saidia Kurekebisha Vundle](https://github.com/VundleVim/Vundle.vim/issues/383)
|
||||||
|
|
||||||
|
## Yaliyomo
|
||||||
|
|
||||||
|
- [Kuhusu](#kuhusu)
|
||||||
|
- [Kuanza](#kuanza)
|
||||||
|
- [Nyaraka](#nyaraka)
|
||||||
|
- [Mabadiliko](#mabadiliko)
|
||||||
|
- [Watu Wanao Tumia Vundle](#watu-wanao-tumia-vundle)
|
||||||
|
- [Wachangiaji](#wachangiaji)
|
||||||
|
- [Uvuvio & Mawazo](#uvuvio--mawazo)
|
||||||
|
- [Pia](#pia)
|
||||||
|
- [Chakufanya](#chakufanya)
|
||||||
|
|
||||||
|
## Kuhusu
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
[Vundle](https://github.com/VundleVim/Vundle.vim) ni kifupisho cha Vim bundle na pia ni plugin ya kumanage [Vim.](https://www.vim.org/)
|
||||||
|
|
||||||
|
[Vundle](https://github.com/VundleVim/Vundle.vim) inakuruhusu wewe kufanya yafuatayo...
|
||||||
|
|
||||||
|
- kuweza kujua na kufanya [configuration](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L126-L233) za plugins zako ndani ya `.vimrc`
|
||||||
|
|
||||||
|
- [kusakinisha](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L234-L254) plugins ambazo ziko configured(kwa jina la maandiko/bundle)
|
||||||
|
|
||||||
|
- [kuongeza](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L255-L265) plugins ambazo ziko configured
|
||||||
|
|
||||||
|
- [kutafuta](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L266-L295) kwa jina maandiko yote ambayo yapo ndani ya [Vim maandiko/Scripts(Hati)](http://vim-scripts.org/vim/scripts.html)
|
||||||
|
|
||||||
|
- [kutoa](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L303-L318) plugins ambazo hazitumiki
|
||||||
|
|
||||||
|
- kutekeleza(run) vitendo hapo juu kwa kubonyeza moja pamoja na [modi ya interactive](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L319-L360)
|
||||||
|
|
||||||
|
[Vundle](https://github.com/VundleVim/Vundle.vim) inafanya automatiki kuratibu Vitu Vifuatavyo...
|
||||||
|
|
||||||
|
- [kuratibu](http://vimdoc.sourceforge.net/htmldoc/options.html#%27runtimepath%27) njia ya runtime ya maandiko ambazo zimesakinishwa
|
||||||
|
|
||||||
|
- inatengeneza [tag za msaada](http://vimdoc.sourceforge.net/htmldoc/helphelp.html#:helptags) baada ya kusakinisha na kupandisha
|
||||||
|
|
||||||
|
[Vundle](https://github.com/VundleVim/Vundle.vim) inapitia [mabadaliko ya mwonekano](https://github.com/VundleVim/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L372-L396),tafadhali kuwa tayari kuweza kupata mabadiliko ya sasa
|
||||||
|
|
||||||
|
chat katika gitter kwa ajili ya majadiliano na support
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Kuanza
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
1. Kuanza:
|
||||||
|
|
||||||
|
kusakinisha kunahitaji uwe na [Git](http://git-scm.com/) pamoja na kutekeleza(run) [git clone](http://gitref.org/creating/#clone) kwa kila repositori ambayo ipo configured kwa `~/ .vim/bundle/` kwa default.Curl inahitajika kwa ajili ya kutafuta.
|
||||||
|
|
||||||
|
Kama unatumia Windows, nenda moja kwa moja katika [setup ya Windows](https://github.com/VundleVim/Vundle.vim/wiki/Vundle-for-Windows).Kama utapata tatizo
|
||||||
|
, hakikisha unaenda sehemu ya [FAQ](https://github.com/VundleVim/Vundle.vim/wiki).Angalia [Mbinu](https://github.com/VundleVim/Vundle.vim/wiki/Tips-and-Tricks) kwa ajili ya configurations za level kubwa.
|
||||||
|
|
||||||
|
Kwa kutumia non-POSIX shels, kama shell za popular fish, zinahitaji setup za nyongeza. Tafadhali angalia [Mswali Kuhusu Hili](https://github.com/VundleVim/Vundle.vim/wiki).
|
||||||
|
|
||||||
|
2. Kutengeneza(Kuset) [Vundle](https://github.com/VundleVim/Vundle.vim):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Configure Plugins:
|
||||||
|
|
||||||
|
Weka hii juu ya `.vimrc` ili kutumia Vundle.Toa plugins ambazo huhitaji, zipo kwa ajili ya lengo la illustration.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
set nocompatible " inapaswa kuboreshwa, inahitajika
|
||||||
|
filetype off " inahitajika
|
||||||
|
|
||||||
|
" weka njia ya runtime kujumuisha Vundle na anzisha
|
||||||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
call vundle#begin()
|
||||||
|
" badala yake, weka njia ambapo Vundle inapaswa kusakinisha nyongeza
|
||||||
|
"call vundle#begin('~/some/path/here')
|
||||||
|
|
||||||
|
" ruhusu Vundle kusimamia Vundle, inahitajika
|
||||||
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
|
" Zifuatazo ni mifano ya miundo tofauti inayoungwa mkono.
|
||||||
|
" Weka amri za Plugin kati ya vundle#begin/end.
|
||||||
|
" nyongeza kwenye GitHub repo
|
||||||
|
Plugin 'tpope/vim-fugitive'
|
||||||
|
" nyongeza kutoka http://vim-scripts.org/vim/scripts.html
|
||||||
|
" Plugin 'L9'
|
||||||
|
" Git plugin ambayo haijawekwa kwenye GitHub
|
||||||
|
Plugin 'git://git.wincent.com/command-t.git'
|
||||||
|
" hifadhi za git kwenye mashine yako ya ndani (yaani wakati unafanya kazi kwenye nyongeza yako mwenyewe)
|
||||||
|
Plugin 'file:///home/gmarik/path/to/plugin'
|
||||||
|
" Hati ya vim ya sparkup iko kwenye jalada dogo la repo hii inayoitwa vim.
|
||||||
|
" Pitia njia ili kuweka runtimepath vizuri.
|
||||||
|
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
||||||
|
" Sakinisha L9 na epuka mgongano wa majina ikiwa tayari umesakinisha
|
||||||
|
" toleo tofauti mahali pengine.
|
||||||
|
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
||||||
|
|
||||||
|
" Nyongeza zote lazima ziwekwe kabla ya mstari ufuatao
|
||||||
|
call vundle#end() " inahitajika
|
||||||
|
filetype plugin indent on " inahitajika
|
||||||
|
" Ili kupuuza mabadiliko ya indent ya nyongeza, badala yake tumia:
|
||||||
|
"filetype plugin on
|
||||||
|
"
|
||||||
|
" Msaada mfupi
|
||||||
|
" :PluginList - orodhesha nyongeza zilizosanidiwa
|
||||||
|
" :PluginInstall - sakinisha nyongeza; ongeza `!` kusasisha au tu: PluginUpdate
|
||||||
|
" :PluginSearch foo - tafuta foo; ongeza `!` kusasisha cache ya ndani
|
||||||
|
" :PluginClean - thibitisha kuondolewa kwa nyongeza ambazo hazitumiki; ongeza `!` kuidhinisha kuondolewa moja kwa moja
|
||||||
|
"
|
||||||
|
" tazama :h vundle kwa maelezo zaidi au wiki kwa Maswali Yanayoulizwa Mara kwa Mara
|
||||||
|
" Weka vitu vyako visivyo vya Plugin baada ya mstari huu
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Sakinisha Plugins
|
||||||
|
|
||||||
|
Anzisha `vim` na tekeleza `:PluginInstall`
|
||||||
|
|
||||||
|
Kusakinisha kutoka kwenye command line: `vim +PluginInstall +qall`
|
||||||
|
|
||||||
|
5. (sio lazima) Kwa wale ambao wanatumia shell: ongeza(add) `set shell=/bin/bash` kwenye `.vimrc`
|
||||||
|
|
||||||
|
## Nyaraka
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
Angalia [:h vundle](https://github.com/VundleVim/Vundle.vim/blob/master/doc/vundle.txt) Vimdoc kwa maelekezo zaidi.
|
||||||
|
|
||||||
|
## Mabadiliko
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
Angalia [changelog](https://github.com/VundleVim/Vundle.vim/blob/master/changelog.md)
|
||||||
|
|
||||||
|
## Watu Wanao Tumia Vundle
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
angalia ,[mifano](https://github.com/VundleVim/Vundle.vim/wiki/Examples)
|
||||||
|
|
||||||
|
## Wachangiaji
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
angalia [Wachangiaji wa Vundle](https://github.com/VundleVim/Vundle.vim/graphs/contributors)
|
||||||
|
|
||||||
|
Ahsanteni
|
||||||
|
|
||||||
|
## Uvuvio & Mawazo
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
- [pathogen.vim](http://github.com/tpope/vim-pathogen/)
|
||||||
|
- [Bundler](https://github.com/bundler/bundler)
|
||||||
|
- [Scott Bronson](http://github.com/bronson)
|
||||||
|
|
||||||
|
## Pia
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
- Vundle imetengenezwa na kufanyiwa majaribio na [Vim](http://www.vim.org/) 7.3 katika OS X, Linux na Windows
|
||||||
|
|
||||||
|
- Vundle inajaribu kuwa [KISS](http://en.wikipedia.org/wiki/KISS_principle) kwa namna yoyote
|
||||||
|
|
||||||
|
## Chakufanya
|
||||||
|
|
||||||
|
[Vundle](http://github.com/VundleVim/Vundle.vim) ni kazi ambazo ipo kwenye mwendelezo, hivyo wazo lolote na patch tutashukuru
|
||||||
|
|
||||||
|
- [x] kuwasha bundle mpya ambazo zimewekwa katika `.vimrc` reload au baada `:PluginInstall`
|
||||||
|
|
||||||
|
- [x] Tumia hakikisha(preview) window kwa ajili ya matokeo ya kutafuta
|
||||||
|
|
||||||
|
- [x] Maelekezo ya Vim
|
||||||
|
|
||||||
|
- [x] weka Vundle katika `bundles/` pia(tutasuruhisha msaada ya Vundle)
|
||||||
|
|
||||||
|
- [x] majaribio
|
||||||
|
|
||||||
|
- [x] kubadili kuweza kupambana na matatizo
|
||||||
|
|
||||||
|
kuruhusu kuspecify version/revision(toleo/marekebisho)
|
||||||
|
|
||||||
|
kuhandle utegemezi(dependencies)
|
||||||
|
|
||||||
|
kuonesha maelekezo katika matokeo ya kutafuta
|
||||||
|
|
||||||
|
kutafuta maelekezo pia
|
||||||
|
|
||||||
|
kufanya iwe safi!
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## 关于
|
## 关于
|
||||||
|
|
||||||
[Vundle] 是 _Vim bundle_ 的简称,是一个 [Vim] 插件管理器.
|
[Vundle] 是 _Vim bundle_ 的简称,是一个 [Vim] 插件管理器:
|
||||||
|
|
||||||
[Vundle] 允许你做...
|
[Vundle] 允许你做...
|
||||||
|
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
* 管理已安装插件的[runtime path](http://vimdoc.sourceforge.net/htmldoc/options.html#%27runtimepath%27)
|
* 管理已安装插件的[runtime path](http://vimdoc.sourceforge.net/htmldoc/options.html#%27runtimepath%27)
|
||||||
* 安装和更新后,重新生成[帮助标签](http://vimdoc.sourceforge.net/htmldoc/helphelp.html#:helptags)
|
* 安装和更新后,重新生成[帮助标签](http://vimdoc.sourceforge.net/htmldoc/helphelp.html#:helptags)
|
||||||
|
|
||||||
[Vundle] 正在经历一个 [interface change], 请通过以下方式获取最新信息.
|
[Vundle] 正在经历一个 [interface change], 请通过以下方式获取最新信息。
|
||||||
|
|
||||||
讨论和技术支持:[](https://gitter.im/VundleVim/Vundle.vim)
|
讨论和技术支持:[](https://gitter.im/VundleVim/Vundle.vim)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -28,15 +28,15 @@
|
|||||||
|
|
||||||
1. 介绍:
|
1. 介绍:
|
||||||
|
|
||||||
安装需要[Git](http://git-scm.com/),触发[`git clone`](http://gitref.org/creating/#clone),默认将每一个指定特定格式插件的仓库复制到`~/.vim/bundle/`.
|
安装需要[Git](http://git-scm.com/),触发[`git clone`](http://gitref.org/creating/#clone),默认将每一个指定特定格式插件的仓库复制到`~/.vim/bundle/`.
|
||||||
搜索需要Curl支持.
|
搜索需要Curl支持。
|
||||||
|
|
||||||
Windows用户请直接访问[Windows setup]. 如果有任何问题, 请参考 [FAQ].
|
Windows用户请直接访问[Windows setup]. 如果有任何问题, 请参考 [FAQ].
|
||||||
查看 [Tips] 获取相关高级配置.
|
查看 [Tips] 获取相关高级配置。
|
||||||
|
|
||||||
使用 non-POSIX shells, 比如比较流行对 Fish shell, 需要额外对步骤. 请查看 [FAQ].
|
使用 non-POSIX shells, 比如比较流行对 Fish shell, 需要额外对步骤。 请查看 [FAQ].
|
||||||
|
|
||||||
2. 初始安装 [Vundle]:
|
2. 初始安装 [Vundle]:
|
||||||
|
|
||||||
`$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`
|
`$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`
|
||||||
|
|
||||||
@@ -97,9 +97,9 @@
|
|||||||
|
|
||||||
通过命令行直接安装 `vim +PluginInstall +qall`
|
通过命令行直接安装 `vim +PluginInstall +qall`
|
||||||
|
|
||||||
## Docs
|
## 文档
|
||||||
|
|
||||||
查阅 [`:h vundle`](https://github.com/VundleVim/Vundle.vim/blob/master/doc/vundle.txt) Vimdoc 以获取更多细节.
|
查阅 [`:h vundle`](https://github.com/VundleVim/Vundle.vim/blob/master/doc/vundle.txt) Vimdoc 以获取更多细节。
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
|||||||
@@ -138,10 +138,11 @@ endf
|
|||||||
func! s:parse_name(arg)
|
func! s:parse_name(arg)
|
||||||
let arg = a:arg
|
let arg = a:arg
|
||||||
let git_proto = exists('g:vundle_default_git_proto') ? g:vundle_default_git_proto : 'https'
|
let git_proto = exists('g:vundle_default_git_proto') ? g:vundle_default_git_proto : 'https'
|
||||||
|
let git_host = git_proto == 'git' ? '@github.com:' : '://github.com/'
|
||||||
|
|
||||||
if arg =~? '^\s*\(gh\|github\):\S\+'
|
if arg =~? '^\s*\(gh\|github\):\S\+'
|
||||||
\ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$'
|
\ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$'
|
||||||
let uri = git_proto.'://github.com/'.split(arg, ':')[-1]
|
let uri = git_proto.git_host.split(arg, ':')[-1]
|
||||||
if uri !~? '\.git$'
|
if uri !~? '\.git$'
|
||||||
let uri .= '.git'
|
let uri .= '.git'
|
||||||
endif
|
endif
|
||||||
@@ -153,7 +154,7 @@ func! s:parse_name(arg)
|
|||||||
let name = split( substitute(uri,'/\?\.git\s*$','','i') ,'\/')[-1]
|
let name = split( substitute(uri,'/\?\.git\s*$','','i') ,'\/')[-1]
|
||||||
else
|
else
|
||||||
let name = arg
|
let name = arg
|
||||||
let uri = git_proto.'://github.com/vim-scripts/'.name.'.git'
|
let uri = git_proto.git_host.'vim-scripts/'.name.'.git'
|
||||||
endif
|
endif
|
||||||
return {'name': name, 'uri': uri, 'name_spec': arg }
|
return {'name': name, 'uri': uri, 'name_spec': arg }
|
||||||
endf
|
endf
|
||||||
|
|||||||
@@ -415,7 +415,7 @@ func! s:make_sync_command(bang, bundle) abort
|
|||||||
|
|
||||||
let initial_sha = s:get_current_sha(a:bundle)
|
let initial_sha = s:get_current_sha(a:bundle)
|
||||||
else
|
else
|
||||||
let cmd = 'git clone --recursive '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(a:bundle.path())
|
let cmd = 'git clone --depth 1 --recursive --shallow-submodules '.vundle#installer#shellesc(a:bundle.uri).' '.vundle#installer#shellesc(a:bundle.path())
|
||||||
let initial_sha = ''
|
let initial_sha = ''
|
||||||
endif
|
endif
|
||||||
return [cmd, initial_sha]
|
return [cmd, initial_sha]
|
||||||
|
|||||||
Reference in New Issue
Block a user