Skip to content

Instantly share code, notes, and snippets.

@ricardoparro
Created February 3, 2016 17:30
Show Gist options
  • Save ricardoparro/f4d04dc71b89cbe42c29 to your computer and use it in GitHub Desktop.
Save ricardoparro/f4d04dc71b89cbe42c29 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
"default indent settings
set shiftwidth=4
set softtabstop=4
set expandtab
set smartindent
set autoindent
set runtimepath^=~/.vim/bundle/ctrlp.vim
set number
set clipboard=unnamed
syntax on
" highlight current line
set cursorline
set cmdheight=1
set switchbuf=useopen
set showtabline=2
set winwidth=79
filetype indent on
set noerrorbells visualbell t_vb=
if has('autocmd')
autocmd GUIEnter * set visualbell t_vb=
endif
autocmd VimEnter * wincmd p
:let mapleader = ","
map <Leader>gf :CtrlP
map <Leader>nt :NERDTree
map <Leader>cc :!cucumber
map <Leader>rt :!rake test
map <Leader>vi :vsplit ~/.vimrc
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment