my personal dotfiles managed by dotbot, zinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.3 KiB

10 years ago
This is my vim dot file.
10 years ago
10 years ago
vundle相关配置在vundle_vimrc中,用vundle管理插件,插件列表`:PluginList`查看
python相关配置在python_vimrc中
## Instruction under windows
10 years ago
Windows下,在vim目录下
10 years ago
10 years ago
```
10 years ago
git init
10 years ago
git remote add origin https://github.com/einverne/dotfile.git
10 years ago
git fetch
10 years ago
git checkout -t origin/master
10 years ago
```
10 years ago
然后在vim目录下安装Vundle
10 years ago
git clone https://github.com/gmarik/Vundle.vim.git vimfiles/bundle/Vundle.vim
进入vim,运行 `:PluginInstall` 安装剩余插件
10 years ago
将 https://github.com/tomasr/molokai 工程中的配色下载到 /vimfile/colors/ 目录下
10 years ago
将 ctags58.zip 压缩包中的 ctags.exe 解压到 vim74/ 目录下
## Instruction under Linux
Install Vundle to `~/.vim/` directory.
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Enter vim, run `:PluginInstall`, after install all plugin, you will meet an error,
> Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.
I find a solution on [StackOverflow](http://stackoverflow.com/questions/7454796/taglist-exuberant-ctags-not-found-in-path)
For Ubuntu and derivatives:
sudo apt-get install exuberant-ctags
with yum:
sudo yum install ctags-etags
Alternative way, using git submodule:
git submodule init && git submodule update