Skip to content

Instantly share code, notes, and snippets.

@binarycleric
Created October 3, 2012 02:43
Show Gist options
  • Save binarycleric/3824643 to your computer and use it in GitHub Desktop.
Save binarycleric/3824643 to your computer and use it in GitHub Desktop.
et guifont=Consolas:h18
set textwidth=80
set tabstop=2
set shiftwidth=2
set expandtab
set spell
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
filetype plugin indent on " required!
" viminfo is really neat. It stores the the state of your previous
" editing sessions so that next start is as if you never quit.
set viminfo=%,'50,\"100,:100,n~/.viminfo
set statusline=%t\%m\ %y\ [%c,%l]
set laststatus=2
set visualbell t_vb=
set background=dark
syntax on
colorscheme koehler
" backup related stuff
set autowrite
set nobackup
" remove the macvim menu bar.
if has("gui_running")
set guioptions=egmrt
endif
if isdirectory($HOME.'/tmp') " if my personal tmp directory exists
if isdirectory($HOME.'/tmp/vim') == 0
:silent !mkdir ~/tmp/vim >/dev/null 2>&1
endif
if isdirectory($HOME.'/tmp/vim')
set backup " turn backups back on
set backupdir=~/tmp/vim " set the backup directory to ~/tmp/vim
set dir=~/tmp/vim
endif
endif
" Settings for the spell plugin
let spell_executable="aspell"
let spell_root_menu = '-'
let spell_auto_type = ''
let spell_insert_mode = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment