Edit with gvim - with GVIM serverlist

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net


EDIT 20070526:
There's now a pure bash edition that doesn't require a Ruby interpreter. Cheers James!

"Edit with gvim" context menu in Konqueror. Has support for gvim's serverlist. This lets you open a file into any already running gvim instance.

This is something I saw in Windows Explorer when I was using gvim there. After using it I couldn't believe I actually got around without it. Really good stuff. Since Konqueror is so incredibly-fantastic I was SURE it could do it as well. And it does!

How it works:
You run the ruby script which daemonizes itself. The daemon checks how many gvim instances there are running. It writes the serverlist info to a temporary file in /tmp in the format of a regular service menu. When done, it copies that to ~/.kde/share/apps/konqueror/servicemenus/gvim_servers.desktop
Then removes the temporary file and sleeps for 10 seconds. When it wakes up the cycle repeats, etc, etc.

1. needs the RUBY interpreter
2. runs as a daemon
3. 10 second delay between updates (you can change this)

Have fun and thank you!
Be the first to comment
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Mar 06 2007
added Mar 06 2007
downloads 24h
mediaviews 24h 0
pageviews 24h 1
System Tags addon