commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Only under linux.
Requires Gvim compiled with "clientserver" functionality and
wmctrl command installed on system.
Instead of servername can be used the current edited file name.
Put it in a function and map it for get rid of "Press a key" after execution.