Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening files from Filezilla to console Vim?

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?

like image 203
Luis D Urraca Avatar asked Apr 24 '12 14:04

Luis D Urraca


1 Answers

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.

like image 198
soulseekah Avatar answered Sep 22 '22 12:09

soulseekah