I'm sure gvim can be called the same way, but I don't use gvim so I couldn't test it out.<br><br>The script your using is really more of a hack than a fix. All it does is call up konsole (the KDE terminal) and asks it to execute a command, (vim $1) where '$1' is the first option on the "command line" in your case it is the name of the file you are trying to open.
<br><br><br><br><div><span class="gmail_quote">On 11/17/06, <b class="gmail_sendername">Kamaraju Kusumanchi</b> <<a href="mailto:kamaraju@bluebottle.com">kamaraju@bluebottle.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Friday 17 November 2006 14:39, Justin Denick wrote:<br>> I think vim is a terminal application. Meaning you must first open a<br>> terminal and then you must call vim with the file you want to edit.<br>><br>
><br>><br>> create a text file and enter the following into it. Then use this file to<br>> open the attachment.<br>><br>> #!/bin/bash<br>> konsole -e vim $1<br><br>This method is working and I can open an attachment in vim. Is there any trick
<br>to get gvim working as well? Currently when I open the application with gvim,<br>a blank gvim windows opens up without any content in it. Any ideas?<br><br>thanks<br>raju<br>___________________________________________________
<br>This message is from the kde mailing list.<br>Account management: <a href="https://mail.kde.org/mailman/listinfo/kde">https://mail.kde.org/mailman/listinfo/kde</a>.<br>Archives: <a href="http://lists.kde.org/">http://lists.kde.org/
</a>.<br>More info: <a href="http://www.kde.org/faq.html">http://www.kde.org/faq.html</a>.<br></blockquote></div><br><br clear="all"><br>-- <br>In vino veritas.<br> [In wine there is truth.]<br> -- Pliny