Skip to content

Instantly share code, notes, and snippets.

@alanboy
Created January 5, 2014 21:10
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 alanboy/8273913 to your computer and use it in GitHub Desktop.
Save alanboy/8273913 to your computer and use it in GitHub Desktop.
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set list
set listchars=tab:>-,trail:~,eol:¶,precedes:<,nbsp:·
set nobackup
set tabstop=4
set noexpandtab
set shiftwidth=4
set number
set noswapfile
set guioptions=ic
set clipboard=unnamed
set sessionoptions+=resize,winpos
set background=dark
"set lines=45
"set columns=156
set ignorecase
set nowrap
" set vim to chdir for each file
if exists('+autochdir')
set autochdir
else
autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ /
endif
" It's often handy to open the folder that corresponds to a file I'm editing
" (as much as I hate to leave Vim!) I've added this mapping:
map <C-e> :!start cmd %:p:h:gs?\/?\\\\\\?<CR>
set incsearch
set ignorecase
set smartcase
set hlsearch
" i have no idea
set wildmenu
set path=$PWD\\**
if has("gui_running")
set guifont=Consolas:h12:cANSI
endif
hi clear
let colors_name = "vividchalk"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment