|
1 | | -<head><meta charset="utf-8"></head> |
2 | 1 | #我的vim配置
|
| 2 | + |
3 | 3 | ##内容:
|
| 4 | + |
4 | 5 | * vim的配置文件
|
5 | 6 | * vim插件
|
6 | 7 | * zsh配置文件
|
7 | 8 |
|
8 | | -## 使用方法: |
| 9 | +## 简易安装方法: |
| 10 | + |
| 11 | +`wget https://raw.github.com/ma6174/vim/master/setup.sh && bash setup.sh` |
| 12 | + |
| 13 | +## 或者自己安装:(以ubuntu为例) |
| 14 | + |
9 | 15 | 1. 安装vim `sudo apt-get install vim`
|
10 | 16 | - 安装ctags:`sudo apt-get install ctags`
|
| 17 | +- 安装一些必备程序:`sudo apt-get install python-twisted xclip vim-gnome astyle python-setuptools` |
| 18 | +- python代码格式化工具:`sudo easy_install -ZU autopep8` |
11 | 19 | - `sudo ln -s /usr/bin/ctags /usr/local/bin/ctags`
|
12 | 20 | - clone配置文件:`cd ~/ && git clone git://github.com/ma6174/vim.git`
|
13 | 21 | - `mv ~/vim ~/.vim`
|
14 | 22 | - `mv ~/.vim/.vimrc ~/`
|
15 | 23 | - clone bundle 程序:`git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle`
|
16 | 24 | - 打开vim并执行bundle程序`:BundleInstall`
|
17 | 25 |
|
| 26 | +## 2013年5月30日更新 |
| 27 | + |
| 28 | +- 为方便大家安装,特地写了`setup.sh`脚本,可以通过下面的命令一键安装: |
| 29 | + - `wget https://raw.github.com/ma6174/vim/master/setup.sh && bash setup.sh` |
| 30 | + |
18 | 31 | ## 2013年5月26日更新
|
19 | 32 |
|
20 | 33 | - 完善NERDTree的用法:
|
|
26 | 39 | ## 2013年5月24日更新
|
27 | 40 |
|
28 | 41 | - 增加covim团队协作工具
|
29 | | -- 需要安装:`pip install twisted` |
30 | 42 | - 开启方法:`:CoVim start [port] [name] `
|
31 | 43 | - 连接服务器:`:CoVim connect [host address / 'localhost'] [port] [name]`
|
32 | 44 | - 退出:`Quit Vim` or `:CoVim disconnect`
|
|
35 | 47 |
|
36 | 48 | - 增加代码格式优化功能
|
37 | 49 | - 按`F6`可以格式化`C/C++/python/perl/java/jsp/xml/`代码
|
38 | | -- 需要安装以下软件: |
39 | | - - `sudo easy_install -ZU autopep8` |
40 | | - - `sudo apt-get install astyle` |
41 | 50 |
|
42 | 51 | ## 2013年5月17日更新
|
43 | 52 |
|
|
0 commit comments