Last active
February 29, 2016 10:08
-
-
Save acidsound/6346222 to your computer and use it in GitHub Desktop.
set vim configuration for js, html, less, coffee-script, emmet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
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