Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed May 3, 2018
1 parent 17f90cb commit 49e2aad
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 121 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ Q & A
- **`安装vimplus后Airline等插件有乱码,怎么解决?`**
linux和mac系统需设置终端字体为DroidSansMonofor Powerline Nerd Font。
linux和mac系统需设置终端字体为Droid Sans Mono Nerd Font。
- **`xshell连接远程主机使用vim-devicons。`**
安装[DejaVu Sans Mono Nerd Font][51]字体即可
windows系统安装[Nerd Font][51]字体后并更改xshell字体即可
- **`安装vimplus会经常失败,安装了几次都不成功!!!`**
Expand Down Expand Up @@ -270,7 +270,7 @@ Q & A
[48]: https://raw.githubusercontent.com/mhinz/vim-startify/master/images/startify-menu.png
[49]: https://cloud.githubusercontent.com/assets/5492542/15363504/839753be-1d4b-11e6-9ac8-def4d7122e8d.gif
[50]: https://github.com/junegunn/vim-slash
[51]: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/DejaVuSansMono
[51]: https://github.com/ryanoasis/nerd-fonts
[52]: https://github.com/tiagofumo/vim-nerdtree-syntax-highlight
[53]: https://github.com/Xuyuanp/nerdtree-git-plugin
[54]: https://github.com/VundleVim/Vundle.vim
Expand Down
105 changes: 0 additions & 105 deletions fonts/10-powerline-symbols.conf

This file was deleted.

Binary file added fonts/Droid Sans Mono Nerd Font Complete.otf
Binary file not shown.
Binary file not shown.
Binary file removed fonts/PowerlineSymbols.otf
Binary file not shown.
17 changes: 4 additions & 13 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,27 +112,18 @@ function copy_files()
# 安装mac平台字体
function install_fonts_on_mac()
{
rm -rf ~/Library/Fonts/Droid\ Sans\ Mono\ for\ Powerline\ Nerd\ Font\ Complete.otf
cp ./fonts/Droid\ Sans\ Mono\ for\ Powerline\ Nerd\ Font\ Complete.otf ~/Library/Fonts
rm -rf ~/Library/Fonts/Droid\ Sans\ Mono\ Nerd\ Font\ Complete.otf
cp ./fonts/Droid\ Sans\ Mono\ Nerd\ Font\ Complete.otf ~/Library/Fonts
}

# 安装linux平台字体
function install_fonts_on_linux()
{
mkdir ~/.fonts

rm -rf ~/.fonts/PowerlineSymbols.otf
cp ./fonts/PowerlineSymbols.otf ~/.fonts

rm -rf ~/.fonts/Droid\ Sans\ Mono\ for\ Powerline\ Nerd\ Font\ Complete.otf
cp ./fonts/Droid\ Sans\ Mono\ for\ Powerline\ Nerd\ Font\ Complete.otf ~/.fonts
rm -rf ~/.fonts/Droid\ Sans\ Mono\ Nerd\ Font\ Complete.otf
cp ./fonts/Droid\ Sans\ Mono\ Nerd\ Font\ Complete.otf ~/.fonts

fc-cache -vf ~/.fonts

mkdir -p ~/.config/fontconfig/conf.d

rm -rf ~/.config/fontconfig/conf.d/10-powerline-symbols.conf
cp ./fonts/10-powerline-symbols.conf ~/.config/fontconfig/conf.d
}

# 下载插件管理软件vim-plug
Expand Down

0 comments on commit 49e2aad

Please sign in to comment.