Skip to content

Instantly share code, notes, and snippets.

@acidsound
Last active February 29, 2016 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acidsound/6346222 to your computer and use it in GitHub Desktop.
Save acidsound/6346222 to your computer and use it in GitHub Desktop.
set vim configuration for js, html, less, coffee-script, emmet
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/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://github.com/tpope/vim-sensible.git ~/.vim/bundle/vim-sensible
git clone https://github.com/moll/vim-node.git ~/.vim/bundle/node
git clone https://github.com/kchmck/vim-coffee-script.git ~/.vim/bundle/vim-coffee-script/
git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim
git clone https://github.com/groenewege/vim-less ~/.vim/bundle/vim-less
git clone https://github.com/marijnh/tern_for_vim.git ~/.vim/bundle/tern_for_vim
git clone https://github.com/othree/tern_for_vim_coffee.git ~/.vim/bundle/tern_for_vim_coffee
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
@acidsound
Copy link
Author

Install

just copy this following line and paste in your terminal

curl https://gist.githubusercontent.com/acidsound/6346222/raw/4572b723e8f92f9b5c7cec57794e37656d8c96fa/set_vim.sh | /bin/sh

@acidsound
Copy link
Author

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