-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathInstall.sh
More file actions
executable file
·29 lines (26 loc) · 876 Bytes
/
Install.sh
File metadata and controls
executable file
·29 lines (26 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cp .vimrc ~/.vimrc
git submodule init
git submodule update
# copy custom snippets
# cp snippets/java.snippets bundle/snipmate/snippets/java.snippets
# cp snippets/xml.snippets bundle/snipmate/snippets/xml.snippets
# powerline fancy font
mkdir ~/.fonts
cp ~/.vim/fonts/* ~/.fonts
fc-cache -vf ~/.fonts
# 终端配置powerline样式的方法:
# 使用python配置powerline fancy font
# 1. 安装pip
# a. https://pypi.python.org/pypi/pip
# b. python setup.py install
# 2. 安装powerline
# a. pip install powerline-status
# b. 添加代码到~/.zshrc
# if test $(which pip)
# then
# export POWERLINE_ROOT="/usr/local/lib/python2.7/dist-packages/powerline"
# . ${POWERLINE_ROOT}/bindings/zsh/powerline.zsh
# fi
# 3. 配置终端字体
# a. 选择Meslo LG S DZ for Powerline
# 4. 终端和vim都会出现powerline样式了