Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bcac000

Browse files
author
ma6174
committed
add setup.sh
1 parent 13648b5 commit bcac000

File tree

4 files changed

+1488
-6
lines changed

4 files changed

+1488
-6
lines changed

‎.vimrc‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
set sw=4
2+
set ts=4
3+
set et
4+
set smarttab
5+
set lbr
6+
set fo+=mB
7+
set sm
8+
set selection=inclusive
9+
set wildmenu
10+
set mousemodel=popup
11+
12+
"
113
"syntastic相关
214
execute pathogen#infect()
315
let g:syntastic_python_checkers=['pylint']

‎README.md‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,33 @@
1-
<head><meta charset="utf-8"></head>
21
#我的vim配置
2+
33
##内容:
4+
45
* vim的配置文件
56
* vim插件
67
* zsh配置文件
78

8-
## 使用方法:
9+
## 简易安装方法:
10+
11+
`wget https://raw.github.com/ma6174/vim/master/setup.sh && bash setup.sh`
12+
13+
## 或者自己安装:(以ubuntu为例)
14+
915
1. 安装vim `sudo apt-get install vim`
1016
- 安装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`
1119
- `sudo ln -s /usr/bin/ctags /usr/local/bin/ctags`
1220
- clone配置文件:`cd ~/ && git clone git://github.com/ma6174/vim.git`
1321
- `mv ~/vim ~/.vim`
1422
- `mv ~/.vim/.vimrc ~/`
1523
- clone bundle 程序:`git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle`
1624
- 打开vim并执行bundle程序`:BundleInstall`
1725

26+
## 2013年5月30日更新
27+
28+
- 为方便大家安装,特地写了`setup.sh`脚本,可以通过下面的命令一键安装:
29+
- `wget https://raw.github.com/ma6174/vim/master/setup.sh && bash setup.sh`
30+
1831
## 2013年5月26日更新
1932

2033
- 完善NERDTree的用法:
@@ -26,7 +39,6 @@
2639
## 2013年5月24日更新
2740

2841
- 增加covim团队协作工具
29-
- 需要安装:`pip install twisted`
3042
- 开启方法:`:CoVim start [port] [name] `
3143
- 连接服务器:`:CoVim connect [host address / 'localhost'] [port] [name]`
3244
- 退出:`Quit Vim` or `:CoVim disconnect`
@@ -35,9 +47,6 @@
3547

3648
- 增加代码格式优化功能
3749
-`F6`可以格式化`C/C++/python/perl/java/jsp/xml/`代码
38-
- 需要安装以下软件:
39-
- `sudo easy_install -ZU autopep8`
40-
- `sudo apt-get install astyle`
4150

4251
## 2013年5月17日更新
4352

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /