You are here

Need ConEmu to be able to launch gvimportable as a shell

6 posts / 0 new
Last post
Charles Kennedy
Offline
Last seen: 7 years 5 months ago
Joined: 2013-07-02 00:42
Need ConEmu to be able to launch gvimportable as a shell

I use ConEmu portably with PortableApps suite. It's not an officially supported app, but what it can do is run cmd and powershell as well as vim as seperate "shells".

I would like to use the portable gvim inside this console. My only issue is that I don't know how to tell ConEmu where gvim is.

Seeing as the drive letter changes everytime there's nothing to tell ConEmu what the new drive letter is for gvimportable.exe.

Is there some form of Environmental variable for the "\PortableApps\" Directory?

Ex: %UserProile%

Thanks in advance for the help

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 38 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Platform

By suite, you mean you use the platform right? If so, you'll shortly have access to a few more environment variables.

Sometimes, the impossible can become possible, if you're awesome!

Charles Kennedy
Offline
Last seen: 7 years 5 months ago
Joined: 2013-07-02 00:42
Yes sir I do use the

Yes sir I do use the PortableApps Platform. Sorry if I used an improper term.

ConEmu.Maximus5
ConEmu.Maximus5's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2012-06-28 17:44
Do you run ConEmu from same

Do you run ConEmu from same drive as gvimportable?
If so, you can use relative path notation, e.g.

%ConEmuDir%\..\gvim\gvim.exe

Charles Kennedy
Offline
Last seen: 7 years 5 months ago
Joined: 2013-07-02 00:42
Ok I'll give that a try.I

Ok I'll give that a try.

I should be able to run that natively from ConEmu, if not I should be able to batch that pretty easily.

EDIT: Actually this works wonderfully for launching gvim.

My only issue now is that it launches gvim as a seperate window instead of as a tab inside of ConEmu.

I may bring that up in another thread though since you've solved the core of my issue.

Thanks!

ConEmu.Maximus5
ConEmu.Maximus5's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2012-06-28 17:44
It will be wise to ask

It will be wise to ask questions about ConEmu on ConEmu project site Wink
This question was found occasionally.

Log in or register to post comments