Setup vim / plugins

This commit is contained in:
Andrew Tomaka 2013-04-29 15:29:20 -04:00
parent 635d6894df
commit 20431429bb
4 changed files with 21 additions and 4 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule ".oh-my-zsh"] [submodule ".oh-my-zsh"]
path = .oh-my-zsh path = .oh-my-zsh
url = https://github.com/robbyrussell/oh-my-zsh.git url = https://github.com/robbyrussell/oh-my-zsh.git
[submodule "/home/atomaka/.vim/bundle/vundle"]
path = /home/atomaka/.vim/bundle/vundle
url = http://github.com/gmarik/vundle.git

1
.vim/bundle/vundle Submodule

@ -0,0 +1 @@
Subproject commit 3dcb0c32991026d0d226aaad57b622c6553cd0db

20
.vimrc
View file

@ -1,3 +1,17 @@
" Plugins
execute pathogen#incubate()
execute pathogen#infect()
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-rails'
Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-surround'
Bundle 'vim-scripts/ruby-matchit'
" Options " Options
set nocompatible " Disable vi compatibility set nocompatible " Disable vi compatibility
set ffs=unix,dos " File format prefer unix endings set ffs=unix,dos " File format prefer unix endings
@ -26,11 +40,8 @@ set softtabstop=2
set shiftwidth=2 set shiftwidth=2
set expandtab set expandtab
" Plugins
execute pathogen#incubate()
execute pathogen#infect()
" Filetype stuff " Filetype stuff
syntax on
filetype on filetype on
filetype plugin on filetype plugin on
filetype indent on filetype indent on
@ -44,6 +55,7 @@ imap <C-s> <esc>:w<CR>
let mapleader = "," let mapleader = ","
map <Leader>s :e ~/Source/ map <Leader>s :e ~/Source/
map <Leader>nc :Nyancat<cr>
" Set style " Set style
set guifont=Ubuntu\ Mono\ 10 set guifont=Ubuntu\ Mono\ 10

1
README
View file

@ -5,4 +5,5 @@ git clone repo
mv dotfiles/* . mv dotfiles/* .
git submodule update --init git submodule update --init
source .zshrc source .zshrc
:BundleInstall inside of vim