vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access vile variables in : command?


From: Brendan O'Dea
Subject: Re: How to access vile variables in : command?
Date: Thu, 9 Nov 2023 09:53:27 +1100

Not sure about variables in general, but you should be able to use %
for the current filename here (and # for the alternate filename).

On Thu, 9 Nov 2023 at 02:52, Chris Green <cl@isbd.net> wrote:
>
> I'm sure this should be obvious but at the moment it's not obvious to
> me! :-)
>
> I want to do something like the following:-
>
>     map #9 :e `pdf $cfilname`^M
>
> However the above doesn't work, $cfilname is null in the above
> context. How can I get the current file's name in this sort of place?
>
>
> --
> Chris Green
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]