Skip to content

Conversation

kyleskrinak
Copy link

A simple and small change to the vimrc example code that I personally use that allows me to have the same vimrc on Mac, Windows or Linux.

A simple change I use that allows me to have the same vimrc on Mac, Windows or Linux
@elyscape
Copy link

Simpler option:

let dotvimdir=split(&rtp,',')[0]
let &rtp.=','.dotvimdir.'/bundle/Vundle.vim'
call vundle#begin(dotvimdir.'/bundle')

You can run this on any OS and it'll behave properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants