Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Created December 27, 2010 17:10
Embed
What would you like to do?
set background=dark
set showmatch
set showmode
set showcmd
set ruler
set title
set wildmenu
set esckeys
set ignorecase
set smartcase
set smartindent
set smarttab
set magic
set bs=indent,eol,start
set nobackup
set viminfo='20,\"500
set hidden
set history=50
set mouse=v
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
set incsearch
endif
set number
autocmd BufEnter *.rb :%s/\s\+$//e
autocmd BufEnter *.pp :%s/\s\+$//e
map <F10> :set paste<CR>
map <F11> :set nopaste<CR>
imap <F10> <C-O>:set paste<CR>
imap <F11> <nop>
set pastetoggle=<F11>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment