zoukankan      html  css  js  c++  java
  • 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 增加一下内容

     vim ~/.vimrc.bundles

    " more options: ['json', 'nginx', 'golang', 'ruby', 'less', 'json', ]
    let g:bundle_groups=['python', 'javascript', 'markdown', 'html', 'css', 'tmux', 'beta']


  • 相关阅读:
    2-SAT·hihoCoder音乐节
    Music in Car
    Game with a Strip
    Oleg and Little Ponies
    组合数性质求K个数选取i*j个数分成j组的方案数
    Python学习笔记03
    Python学习笔记02
    Python 学习笔记01
    欺骗侦测
    Oracle 使用小计(4)
  • 原文地址:https://www.cnblogs.com/exayong/p/6834457.html
Copyright © 2011-2022 走看看