网站seo需要用到哪些工具,有没有做衣服的网站,wordpress 网站描述,建设公司官网的请示一、vim插件安装
首先安装插件管理器Vundle ()。参照官网流程即可。vim的插件管理器有多个#xff0c;只用Vundle就够了。然后~/.vimrc里写上要安装的插件:
filetype offset rtp~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin VundleVim/Vundle.vim
Plugin powerline…一、vim插件安装
首先安装插件管理器Vundle ()。参照官网流程即可。vim的插件管理器有多个只用Vundle就够了。然后~/.vimrc里写上要安装的插件:
filetype offset rtp~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin VundleVim/Vundle.vim
Plugin powerline/powerline, {rtp: powerline/bindings/vim}
call vundle#end()filetype plugin indent on
接着在vim的命令行模式下运行命令
PluginInstall
Vundle可能需要较新的git。如有相关报错请更新git。 特别注意对与powerline插件它需要先或者它自己会安装好python包powerline-status. vim会导入这个python包。如果vim编译安装和软件环境配置有冲突可能vim里导入python包会报错如“undefined symbol: _PyUnicode_Ready” 参见Vim issue undefined symbol: _PyUnicode_Ready · Issue #1921 · powerline/powerline · GitHub。我的情况估计是系统默认的老版本python2干扰了。我的解决方法是重新编译安装较新的python2和python3然后编译vim时都指定要python2和python3的支持见上篇。此外安装完可能不能立即显示powerline的效果需要~/.vimrc以及~/.bashrc里设置好。可能的关键配置如下没验证。
~/.vimrc
set guifontDejaVu\ Sans\ Mono\ for\ Powerline\ 9
set laststatus2
set termxterm-256color
set t_Co256
let g:Powerline_symbols fancy
set encodingutf-8
~/.bashrc
export TERMxterm-256color 二、vim配置
根据需要配置~/.vimrc。我的配置见https://github.com/Japrin/GeneralEnvConfig。