Created
September 18, 2011 08:33
-
-
Save jsermeno/1224881 to your computer and use it in GitHub Desktop.
Setup Vim
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
cp ~/Downloads/railscasts.vim ~/.vim/colors |
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
git clone git://github.com/msanders/snipmate.vim.git | |
cd snipmate.vim | |
sudo cp -R * ~/.vim |
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
cd ~/.vim/ruby/command-t | |
sudo ruby extconf.rb | |
sudo make | |
# Switch back to 1.9.2 | |
rvm --default 1.9.2 |
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
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 |
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
sudo vim ~/Downloads/command-t-1.2.1.vba |
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
rvm install 1.8.7 | |
rvm --default 1.8.7 |
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 ~/.vim | |
mkdir ~/.vim/colors |
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
:so % |
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
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