Hi,
> I agree that 'commandline -b' indeed has a less-than-optimal behaviour.
> We could add a switch to tell it not to interpret escape characters, but
> I
> really can't think of a use for the current behaviour either, so I agree
> that it should just be fixed. I committed a fix to my person
I agree that 'commandline -b' indeed has a less-than-optimal behaviour. We
could add a switch to tell it not to interpret escape characters, but I
really can't think of a use for the current behaviour either, so I agree
that it should just be fixed. I committed a fix to my personal branch on
gitori
Hi,
I have a function which puts current commandline buffer to the editor.
It's really useful sometimes.
function .edit_cmd --description 'Edit cmdline in editor'
set -l f (mktemp)
set -l p (commandline -C)
commandline -b > $f
vim