rename $target to $f

Shorter variable = less typing.  After all, you can use the variable
outside lscd when you are back in the shell, if you use "source lscd" to
start lscd.
Add a key to invoke an editor
reset input variables before reading input

this fixes the bug that may cause lscd to repeat the last input when
it's resized