Skip to content

Instantly share code, notes, and snippets.

Created December 27, 2010 17:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jamtur01/756304 to your computer and use it in GitHub Desktop.
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
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