Last active
December 17, 2015 11:39
-
-
Save anacronw/5604074 to your computer and use it in GitHub Desktop.
My vimrc settings for javascript
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
set nocompatible | |
execute pathogen#infect() | |
filetype plugin indent on | |
set ai | |
set ts=2 | |
set sts=2 | |
set et | |
set sw=2 | |
set nobackup | |
set number | |
set nowrap | |
set clipboard=unnamed | |
set relativenumber | |
syntax on | |
au BufNewFile,BufRead *.cson set filetype=coffee | |
colorscheme delek | |
set background=dark |
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
bash <(curl -s https://gist.githubusercontent.com/badunk/5604074/raw/vim-setup.sh) |
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
#!/bin/bash | |
# Download Config files | |
curl -o ~/.ctags https://gist.github.com/badunk/5604074/raw/.ctags | |
curl -o ~/.vimrc https://gist.github.com/badunk/5604074/raw/.vimrc | |
# Pathogen | |
mkdir -p ~/.vim/autoload ~/.vim/bundle; \ | |
curl -Sso ~/.vim/autoload/pathogen.vim \ | |
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim | |
# Get plugins | |
git clone https://github.com/kchmck/vim-coffee-script.git ~/.vim/bundle/vim-coffee-script/ | |
git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript/ | |
git clone https://github.com/kien/ctrlp.vim.git ~/.vim/bundle/ctrlp/ | |
git clone https://github.com/jeffkreeftmeijer/vim-numbertoggle.git ~/.vim/bundle/vim-numbertoggle/ | |
git clone https://github.com/mattn/emmet-vim.git ~/.vim/bundle/emmet-vim/ | |
git clone https://github.com/tmhedberg/matchit.git ~/.vim/bundle/matchit/ | |
git clone https://github.com/mustache/vim-mustache-handlebars.git ~/.vim/bundle/vim-mustache-handlebars/ | |
git clone https://github.com/nathanaelkane/vim-indent-guides.git ~/.vim/bundle/vim-indent-guides.git/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment