Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How could I run gVim on a USB drive (I can't install software on the computer) preferably I'd like to load it on the USB drive with a mac (so I can't install an exe - but I could use a pc) and also how could I load my .vimrc file on drive and gVim use it?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It's unclear what OS this is for. If it's for Windows you should be able to copy the entire install directory from a machine you can install to—or from a machine that already has it installed—onto the USB drive and run it from there. Vim will look for a vimrc file in the same directory as the Vim executable.

See ":help $VIM" and ":help vimrc".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.