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']


  • 相关阅读:
    9.17考试
    Something
    tesuto-Mobius
    7.22考试
    填坑...P1546 最短网络 Agri-Net
    P1125 笨小猴
    P2822 组合数问题
    致我们曾经刷过的水题
    Luogu P1186 玛丽卡
    Luogu P1726 上白泽慧音
  • 原文地址:https://www.cnblogs.com/exayong/p/6834457.html
Copyright © 2011-2022 走看看