Opening files from Filezilla to console Vim?

editor, filezilla, vim

Solution

I managed to have a console pop up with `vim` by invoking a custom shell script wrapper instead of vim itself.

#!/bin/bash
gnome-terminal -e "vim $1"

One of the drawbacks is that everytime a new window will pop up. Hope this helps.

Problem

Sometimes I have the need to modify files that are in a FTP server, currently I have Filezilla opening them in sublime. But I'm moving to VIM and I haven't found a way to make the file open in VIM console. Probably works flawless for gVim but anyone have this working on the console?

Original source