Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setup Vim
cp ~/Downloads/railscasts.vim ~/.vim/colors
git clone git://github.com/msanders/snipmate.vim.git
cd snipmate.vim
sudo cp -R * ~/.vim
cd ~/.vim/ruby/command-t
sudo ruby extconf.rb
sudo make
# Switch back to 1.9.2
rvm --default 1.9.2
git https://github.com/statianzo/vim-jade.git
cd vim-jade
sudo cp -R syntax ~/.vim
sudo cp -R ftdetect ~/.vim
sudo cp -R indent ~/.vim
git https://github.com/wavded/vim/stylus.git
cd vim-stylus
sudo cp -R syntax ~/.vim
sudo cp -R ftdetect ~/.vim
sudo cp -R indent ~/.vim
sudo vim ~/Downloads/command-t-1.2.1.vba
rvm install 1.8.7
rvm --default 1.8.7
mkdir ~/.vim
mkdir ~/.vim/colors
let mapleader=","
autocmd! bufwritepost vimrc source ~/.vimrc
syntax on
colorscheme railscasts
set transparency=2 "remove if you do not like transparent backgrounds
set gfn=Monaco:h12
set autoindent "indentation settings
set smartindent
set shiftwidth=4 "tabs as 4 spaces
set tabstop=4
set expandtab
set smarttab
set encoding=utf-8 "encoding
set ruler "see line information
set ignorecase "ignore case when searching
set smartcase
set hlsearch "search highlighting
set incsearch
set number "set linenumbers
filetype plugin on
:cd /path/to/your/favorite/project "useful if you're going to end up opening the same project every time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.