Skip to content

Instantly share code, notes, and snippets.

@morbusg
Created March 15, 2019 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morbusg/81ad81c469f1f2971327ad3942252748 to your computer and use it in GitHub Desktop.
Save morbusg/81ad81c469f1f2971327ad3942252748 to your computer and use it in GitHub Desktop.
Vim configuration
execute pathogen#infect()
set tabstop=2
set shiftwidth=2
set ruler
set laststatus=2
set expandtab
set autoindent
set wildmode=list:longest
set visualbell t_vb=
let g:tex_flavor='plain'
syntax on
filetype plugin indent on
colorscheme solarized
au BufRead *.ru setlocal filetype=ruby
"au BufRead *.md set filetype=markdown
au BufNewFile,BufRead *.tex setlocal makeprg=xetex\ %
au BufNewFile,BufRead *.mp setlocal indentexpr= makeprg=mptopdf\ %
au BufNewFile,BufRead *.html setlocal nosmartindent autoindent filetype=html indentexpr=
au BufNewFile,BufRead layout.html setlocal smartindent filetype=litcoffee indentexpr=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment