From 0bb449ecb9f2c743d6dbaa65f04e83dd7173f82e Mon Sep 17 00:00:00 2001 From: Kyle Skrinak Date: Sat, 28 Mar 2015 12:05:22 -0400 Subject: [PATCH] Updates README.md with Windows platform Inclusion A simple change I use that allows me to have the same vimrc on Mac, Windows or Linux --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 337e0b5e..59739cd3 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,14 @@ filetype off " required " set the runtime path to include Vundle and initialize - set rtp+=~/.vim/bundle/Vundle.vim - call vundle#begin() + if has("win32") + set rtp+=~/vimfiles/bundle/Vundle.vim/ + let path='~/vimfiles/bundle' + call vundle#begin(path) + else + set rtp+=~/.vim/bundle/Vundle.vim + call vundle#begin() + endif " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') @@ -158,3 +164,4 @@ see [Vundle contributors](https://github.com/gmarik/Vundle.vim/graphs/contributo [clean]:https://github.com/gmarik/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L303-L318 [interactive mode]:https://github.com/gmarik/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L319-L360 [interface change]:https://github.com/gmarik/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L372-L396 +