On 2025-12-18, Walter Alejandro Iglesias <[email protected]> wrote: > I found the following in sftp(1) source code: > > $ grep editline /usr/src/usr.bin/ssh/* > sftp.c: fatal("Couldn't initialise editline"); > sftp.c: fatal("Couldn't initialise editline history"); > > I use this line in ~/.editrc: > > bind -v > > That gives me vi-like keybindings in many applications. But it doesn't > work with sftp(1).
sftp does use editline, and it does read .editrc. bind -v does do something in sftp (you'll see a behaviour change if you remove it) but it's not normal vi-like handling.. -- Please keep replies on the mailing list.

