Skip to content

Commit

Permalink
Adding vimrc for ease of use
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert May committed Mar 7, 2014
1 parent 200e0e7 commit 1b58ebd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .vimrc
@@ -0,0 +1,30 @@
set nocompatible
call pathogen#infect()
call pathogen#helptags()
set t_Co=256
syntax on
colorscheme railscasts
set guifont=Monaco:h12
filetype plugin indent on
set smartindent
set expandtab
set shiftwidth=2
set softtabstop=2
set number
set hlsearch
set hidden
set history=1000
set undolevels=1000
set title
set nobackup
set noswapfile
set wildmenu
set wildmode=list:longest
set pastetoggle=<F2>
set wrap
let mapleader = ","
let g:ctrlp_map = '<c-p>' " Leave this empty to disable the default mapping
let g:ctrlp_cmd = 'CtrlP'
:nmap <C-t> :tabnew<CR>
:imap <C-t> <Esc>:tabnew<CR>
let g:ctrlp_custom_ignore = { 'dir': '\v(public/\v(vendors|uploads|system|spree|property_images|assets|pdfs|images|avatars)|db/dumps|node_modules)|\.git$\|\.hg$\|\.svn$' }

0 comments on commit 1b58ebd

Please sign in to comment.