Subscribe to RSS Subscribe to Comments

Programming stuff: Bash, Linux, SQL and Java

gftp and gvim as the editor

i set gvim as the editor in the preferences of gftp.
the problem was that, when saving and exiting gvim, the file was removed from the temp folder, but was not uploaded back on the server.
this used to work with gedit.
a search on google took me to a post where a guy had the same problem as me, but no answer.
a man vim solved it.
it says there that gvim detaches itself from the shell , so gftp won’t see any exit code when you close gvim.
all i did was putting /usr/bin/gvim –nofork in the editor field.
voila!

No comments yet. Be the first.

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image

Based on FluidityTheme Redesigned by Kaushal Sheth Sponsored by Send Flowers