Browse files

Adding vimrc for ease of use

  • Loading branch information...
1 parent 200e0e7 commit 1b58ebd198d9cb49fce329abf9f7a946115e018a @robotmay committed Mar 7, 2014
Showing with 30 additions and 0 deletions.
  1. +30 −0 .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.