parameters to editor (F4)
Moderators: white, Hacker, petermad, Stefan2
parameters to editor (F4)
I specify my editor here:
configuration -> options -> edit/view -> editor for F4
~
Editor = C:\Program Files\total commander\vim61\gvim.exe
I was wondering if it was possible to give parameters to the editor.
I have tried:
Editor = C:\Program Files\total commander\vim61\gvim.exe -y
Editor = C:\Program Files\total commander\vim61\gvim.bat
Where gvim.bat contains:
gvim.exe -y %1
But it doesn't work..
Does anyone know how to get it working / is it possible ?
configuration -> options -> edit/view -> editor for F4
~
Editor = C:\Program Files\total commander\vim61\gvim.exe
I was wondering if it was possible to give parameters to the editor.
I have tried:
Editor = C:\Program Files\total commander\vim61\gvim.exe -y
Editor = C:\Program Files\total commander\vim61\gvim.bat
Where gvim.bat contains:
gvim.exe -y %1
But it doesn't work..
Does anyone know how to get it working / is it possible ?
2soreno
I tried this and found out that in case of your first variant (Editor = C:\Program Files\total commander\vim61\gvim.exe -y) TC passes short form (DOS) of file path, i.e. your editor receives the following command line parameters:
I tried this and found out that in case of your first variant (Editor = C:\Program Files\total commander\vim61\gvim.exe -y) TC passes short form (DOS) of file path, i.e. your editor receives the following command line parameters:
Make sure your editor "understands" short paths.Total Commander through command line wrote:-y c:\progra~1\somedi~1\somefile.txt
[face=courier]On 25-02-2003 12:17:04 +0000 TucknDar wrote:
T> you could always put it in the startmenu, and
T> then bind a hotkey to it using cm_usermenuX
It wouldn't work inside archives.[/face]
T> you could always put it in the startmenu, and
T> then bind a hotkey to it using cm_usermenuX
It wouldn't work inside archives.[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]
[face=courier]On 25-02-2003 18:11:04 +0000 TucknDar wrote:
T> hmmm... consider it a feature-request, then
Well, I would but I'm not quite sure about Christian .[/face]
T> hmmm... consider it a feature-request, then
Well, I would but I'm not quite sure about Christian .[/face]
[face=courier]The Protoss do NOT run from their enemies.
It is here, that we shall make our stand.[/face]
It is here, that we shall make our stand.[/face]