Skip to content

Instantly share code, notes, and snippets.

@eschen42
Last active October 10, 2022 12:36
Show Gist options
  • Save eschen42/af0084b99f1ada5a4146755aff81c5b5 to your computer and use it in GitHub Desktop.
Save eschen42/af0084b99f1ada5a4146755aff81c5b5 to your computer and use it in GitHub Desktop.
my old Windows _vimrc
set nocompatible
" source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/gvimrc_example.vim
" source $VIMRUNTIME/mswin.vim
behave xterm
set selectmode=mouse
set guifont=Courier:h9
" Cursor is Magenta
highlight Cursor guibg=Magenta guifg=NONE
au BufNewFile,BufRead *.mzXML set ft=xml
au BufNewFile,BufRead *.mzML set ft=xml
au BufNewFile,BufRead *.xsl set ft=xml
au BufNewFile,BufRead *.xsm set ft=xml
au BufNewFile,BufRead *.asp set ft=vb
au BufNewFile,BufRead *.bas set ft=vb
au BufNewFile,BufRead *.cls set ft=vb
au BufNewFile,BufRead *.frm set ft=vb
au BufNewFile,BufRead *.vbs set ft=vb
au BufNewFile,BufRead *.trg set ft=sql
" Set 2 spaces per tab character
set ts=2 sw=2 et ai
set nocompatible
" source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/gvimrc_example.vim
source $VIMRUNTIME/mswin.vim
" behave xterm
set selectmode=mouse
set guifont=Courier:h9
" Cursor is Magenta
highlight Cursor guibg=Magenta guifg=NONE
au BufNewFile,BufRead *.xsl set ft=xml
au BufNewFile,BufRead *.xsm set ft=xml
au BufNewFile,BufRead *.asp set ft=vb
au BufNewFile,BufRead *.bas set ft=vb
au BufNewFile,BufRead *.cls set ft=vb
au BufNewFile,BufRead *.frm set ft=vb
au BufNewFile,BufRead *.vbs set ft=vb
au BufNewFile,BufRead *.trg set ft=sql
" Set 2 spaces per tab character
set ts=2 sw=2 et ai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment