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 5836666

Browse files
author
ma6174
committed
Merge branch 'master' of git://github.com/ma6174/vim
2 parents fe0e188 + c2400d6 commit 5836666

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎.vimrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ set rtp+=$GOROOT/misc/vim
3131
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
3232
" 显示相关
3333
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
34+
syntax on
3435
set cul "高亮光标所在行
3536
set cuc
3637
set shortmess=atI " 启动的时候不显示那个援助乌干达儿童的提示

‎setup.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22
echo "安装将花费一定时间,请耐心等待直到安装完成^_^"
3-
sudo apt-get install -y vim vim-gnome ctags xclip astyle python-setuptools
3+
if which apt-get >/dev/null; then
4+
sudo apt-get install -y vim vim-gnome ctags xclip astyle python-setuptools
5+
else
6+
sudo yum install -y gcc vim git ctags xclip astyle python-setuptools python-devel
7+
fi
48
sudo easy_install -ZU autopep8 twisted
59
sudo ln -s /usr/bin/ctags /usr/local/bin/ctags
610
mv ~/vim ~/vim_old -f
@@ -12,6 +16,6 @@ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
1216
echo "ma6174正在努力为您安装bundle程序" > ma6174
1317
echo "安装完毕将自动退出" >> ma6174
1418
echo "请耐心等待" >> ma6174
15-
vi ma6174 -c "BundleInstall" -c "q" -c "q"
19+
vim ma6174 -c "BundleInstall" -c "q" -c "q"
1620
rm ma6174
1721
echo "安装完成"

0 commit comments

Comments
(0)

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