1
0
Fork 0
mirror of synced 2024-12-24 07:43:20 -05:00

update README markdown syntax

This commit is contained in:
hustcalm 2012-10-29 19:26:28 +08:00
parent b8ec60d317
commit 74580f299d

View file

@ -313,15 +313,19 @@ You can also add your own favorite script from [vim-scripts.org](http://vim-scri
## Use git and pathogen to manage vim plugins
As amix mentioned, you can isntall your own plugins via pathogen,for instance vim-rails:
cd ~/.vim_runtime
git clone git://github.com/tpope/vim-rails.git sources_plugins/vim-rails
After this,you got vim-rails under sources_plugins/vim-rails as a git local repo.
**But** maybe amix forgot to mention that you have to change plugins_config.vim under ~/.vim_runtime/vimrcs to make the plugin work.
**But** maybe amix forgot to mention that you have to change plugins_config.vim under ~/.vim_runtime/vimrcs to make the plugin work.
Just to add a line to plugins_config.vim and it may look like this:
call pathogen#infect('~/.vim_runtime/sources_forked')
call pathogen#infect('~/.vim_runtime/sources_non_forked')
**call pathogen#infect('~/.vim_runtime/sources_plugins')**
call pathogen#helptags()
The line **bold** is added. Then pathogen will get everything done.
**Note:** I don't use subtree or submodule to manage vim plugins at this time, so you'd better know what you are doing with your plugins.