[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: Re :Preview type weight ligt



Reply to note from harrybinswanger <dmarc-noreply@xxxxxxxxxxxxx> Fri, 16
Oct 2026 13:02:39 -0400

Harry,

> What is the right syntax to use in the .kbd file to have to SV/NV an 
> onscreen file, foo.bar, as foo.bar.bak (which I want to do before 
> aborting)? 

First, you want SA, not SV. (SV saves the current selection to a
variable.) Also, you have a ready-made variable that returns the current
filename with full path: $FP. Finally, you don't need concatenation to
append ".bak" to the filename to compose a command, like SA, that takes
a filename argument; you need juxtaposition. So the key binding you want
looks like this:

30=SA/NV $FP.bak;AB

-- 
Carl Distefano
cld@xxxxxxxxxx