Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 2.04 KB

README.md

File metadata and controls

66 lines (54 loc) · 2.04 KB

Vim as your nodejs IDE

This is forked from haridas's vim-as-your-ide and I've added more plugins for nodejs development

Vim plugins included:

Get Started

I am using ubuntu, so all the instructions are for unbuntu only. It may apply to other platforms.

Install latest vim

The version of vim shipping with Ubuntu is too old. You need to build Vim from source

Clone this repo

$git clone https://github.com/viruschidai/vim-as-nodejs-ide.git

$cd vim-as-nodejs-ide

$git submodule init
$git submodule update

Link vim dotfiles

$cd
$ln -s <path-to>vim-as-nodejs-ide/vim-files/vim .vim
$ln -s <path-to>vim-as-nodejs-ide/vim-files/vim/vimrc .vimrc

Build plugins

Some plugins require compilation

Build command-t

command-t requires compilation.

$ cd <path-to>vim-as-nodejs-ide/vim-files/vim/bundle/command-t/ruby/command-t
$ ruby extconf.rb
$ make

Build YouCompleteMe

cd ~/.vim/bundle/YouCompleteMe
./install.sh

Usage jsbeautify

<leader>ff (cf. ,ff)

If you have any troubles of installing it, please check YouCompleteMe