diff --git a/README.md b/README.md index 0750066..20b2678 100644 --- a/README.md +++ b/README.md @@ -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会经常失败,安装了几次都不成功!!!`** @@ -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 diff --git a/fonts/10-powerline-symbols.conf b/fonts/10-powerline-symbols.conf deleted file mode 100644 index 7e34a12..0000000 --- a/fonts/10-powerline-symbols.conf +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - monospace - PowerlineSymbols - - - Droid Sans Mono - PowerlineSymbols - - - Droid Sans Mono Slashed - PowerlineSymbols - - - Droid Sans Mono Dotted - PowerlineSymbols - - - DejaVu Sans Mono - PowerlineSymbols - - - DejaVu Sans Mono - PowerlineSymbols - - - Envy Code R - PowerlineSymbols - - - Inconsolata - PowerlineSymbols - - - Lucida Console - PowerlineSymbols - - - Monaco - PowerlineSymbols - - - Pragmata - PowerlineSymbols - - - PragmataPro - PowerlineSymbols - - - Menlo - PowerlineSymbols - - - Source Code Pro - PowerlineSymbols - - - Consolas - PowerlineSymbols - - - Anonymous pro - PowerlineSymbols - - - Bitstream Vera Sans Mono - PowerlineSymbols - - - Liberation Mono - PowerlineSymbols - - - Ubuntu Mono - PowerlineSymbols - - - Meslo LG L - PowerlineSymbols - - - Meslo LG L DZ - PowerlineSymbols - - - Meslo LG M - PowerlineSymbols - - - Meslo LG M DZ - PowerlineSymbols - - - Meslo LG S - PowerlineSymbols - - - Meslo LG S DZ - PowerlineSymbols - - diff --git a/fonts/Droid Sans Mono Nerd Font Complete.otf b/fonts/Droid Sans Mono Nerd Font Complete.otf new file mode 100644 index 0000000..d733c3d Binary files /dev/null and b/fonts/Droid Sans Mono Nerd Font Complete.otf differ diff --git a/fonts/Droid Sans Mono for Powerline Nerd Font Complete.otf b/fonts/Droid Sans Mono for Powerline Nerd Font Complete.otf deleted file mode 100644 index 4f543b9..0000000 Binary files a/fonts/Droid Sans Mono for Powerline Nerd Font Complete.otf and /dev/null differ diff --git a/fonts/PowerlineSymbols.otf b/fonts/PowerlineSymbols.otf deleted file mode 100644 index b1582af..0000000 Binary files a/fonts/PowerlineSymbols.otf and /dev/null differ diff --git a/install.sh b/install.sh index 9e46b81..c4ab253 100755 --- a/install.sh +++ b/install.sh @@ -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