Skip to content

Instantly share code, notes, and snippets.

@SAPikachu
Created February 29, 2012 03:12
Show Gist options
  • Save SAPikachu/1937287 to your computer and use it in GitHub Desktop.
Save SAPikachu/1937287 to your computer and use it in GitHub Desktop.
set nocompatible
let $VIM_ROOT=expand("<sfile>:p:h")
if has('win32') || has ('win64')
let path_sep='\\'
else
let path_sep='/'
endif
let $VIMFILES_GENERAL=$VIM_ROOT . path_sep . '.vim'
let $VIMFILES_OSSPEC=$VIM_ROOT . path_sep . '.vim_osspec'
let &runtimepath=$VIMFILES_OSSPEC . "," . $VIMFILES_GENERAL . "," . &runtimepath
runtime vimrc_general.vim
runtime vimrc_osspec.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment