sponsor Vim development Vim logo Vim Book Ad

portablemsys : Use msys as Portable GVim's shell

 script karma  Rating 21/6, Downloaded by 1242  Comments, bugs, improvements  Vim wiki

created by
ron h
 
script type
utility
 
description
This plugin automatically sets the shell option to point to msys location.
It lets you have both Portable GVim and msys+MinGW on your portable usb stick, without needing to set the path every time you plug in the usb stick, thus giving you portable compiling powers :-)
 
install details
1. Place portablemsys.vim inside your Portable GVim's plugin folder
2. Edit your vimrc file to include the line:
        let Msys='PortableApps\msys'
    or wherever your msys is located at (in relation to GVim's drive letter).
3. Remove the following line from your msys\etc\profile file:
        cd $HOME
    or any other directory changes.
4. Enjoy.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
portablemsys.vim 1.0.3 2010-01-02 6.0 ron h PortableMsys now sets the makeef option to let make create an error file without problems.
portablemsys.vim 1.0.2 2009-02-13 7.0 ron h Added support for a fixed path if you decide to save your Portable GVim to hdd. eg:    let Msys='C:\msys'
portablemsys.vim 1.0.1 2008-07-29 7.0 ron h Fixed problem where :shell will not bring up the Msys shell.
portablemsys.vim 1.0.0 2008-07-25 7.0 ron h Initial upload
ip used for rating: 3.133.156.156

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github