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). -- Walter

