Skip to content

Instantly share code, notes, and snippets.

@mwalling
Created March 18, 2010 18:41
Show Gist options
  • Save mwalling/336704 to your computer and use it in GitHub Desktop.
Save mwalling/336704 to your computer and use it in GitHub Desktop.
if &term == 'screen'
set ttymouse=xterm2
endif
set nobackup
set ruler
set autoindent
set nocindent
set nosmartindent
set tabstop=4
set shiftwidth=4
set showtabline=2
set smarttab
set softtabstop=4
filetype indent on
set spellfile=~/.vimspell.latin1.add
set modeline
set expandtab
syn on
set mouse=a
augroup mkd
autocmd BufRead *.mkd set spell textwidth=70 ai formatoptions=tcroqn2 comments=n:>
augroup END
autocmd BufNewFile,BufRead COMMIT_EDITMSG set filetype=gitcommit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment