Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
set vim configuration for js, html, less, coffee-script, emmet
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim
echo "execute pathogen#infect()
syntax on
filetype plugin indent on
set tabstop=2
set shiftwidth=2
set softtabstop=2
set paste
set pastetoggle=<F2>
set expandtab
set mouse=a
let g:user_emmet_expandabbr_key = '<Tab>'">>~/.vimrc
git clone git:// ~/.vim/bundle/vim-sensible
git clone ~/.vim/bundle/node
git clone ~/.vim/bundle/vim-coffee-script/
git clone ~/.vim/bundle/emmet-vim
git clone ~/.vim/bundle/vim-less
git clone ~/.vim/bundle/tern_for_vim
git clone ~/.vim/bundle/tern_for_vim_coffee
git clone ~/.vim/bundle/nerdtree

acidsound commented Aug 26, 2013


just copy this following line and paste in your terminal

curl | /bin/sh


acidsound commented Sep 25, 2015

cd ~/.vim/bundle/tern_for_vim
npm install tern-coffee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment