Skip to content

Instantly share code, notes, and snippets.

@zaphodtx
Created December 10, 2018 20:35
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 zaphodtx/ea2db4a5f67d36f8ec503598ec16f765 to your computer and use it in GitHub Desktop.
Save zaphodtx/ea2db4a5f67d36f8ec503598ec16f765 to your computer and use it in GitHub Desktop.
Windows VIM configuration
"not using mswin as it remaps ctrl-f
":source $VIMRUNTIME/mswin.vim
:set ic
colors darkblue
set lines=55 columns=120
:syntax enable
set backup
set backupdir=X:\\tmp
set dir=X:\\tmp
set tabstop=4
set softtabstop=0 noexpandtab
set shiftwidth=4
set mouse=a
if has("multi_byte")
if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8
"setglobal bomb
set fileencodings=ucs-bom,utf-8,latin1
set guifont=Courier_New:h10:b:cANSI:qDRAFT
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment