ubuntu 安装 nvm 管理Node.js 以及vim 插件加强

安装
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
source ~/.bashrc
nvm install node 安装node.js

安装k-vim


git clone https://github.com/wklken/k-vim.git


sudo apt-get install ctags sudo apt-get install build-essential cmake python-dev #编译YCM自动补全插件依赖 sudo apt-get install silversearcher-ag


# 安装jshint和jslint,用于javascript语法检查 # 须要nodejs支持,各个系统安装见文档 https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager # ubuntu 若是安装过nodejs 则不须要安装了 sudo apt-get install nodejs npm sudo npm install -g jslint sudo npm install jshint -g


cd k-vim/ sh -x install.sh

编辑vimrc.bundles 增长一下内容javascript

 vim ~/.vimrc.bundlescss

" more options: ['json', 'nginx', 'golang', 'ruby', 'less', 'json', ]
let g:bundle_groups=['python', 'javascript', 'markdown', 'html', 'css', 'tmux', 'beta']
相关文章
相关标签/搜索