vimremote.sh : script to use gvim from IDE
script karma |
Rating 1/1,
Downloaded by 704 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Bart van Deenen |
|
script type |
utility |
|
description |
I wanted to use vim from the Xilinx ide, and I like the following actions to occur from the IDE
1) open every file in a split window in one gvim session
2) when opening the same file again from the IDE, don't cause a new split window if there is already one
3) use the line numbers provided by the ide.
In Xilinx you would define the external editor call
/path/to/vimremote.sh XILINX $1 $2
The XILINX is just a name so that one particular gvim session is used for it, and not any others you might have hanging around
You need a decent shell. Don't know how that works in Windows. This script could be useful in many other ide's that allow calls to external editors |
|
install details |
Just put the file somewhere on your harddisk, and configure your IDE to use it. The call to vimremote.sh has 3 parameters:
1) unique name for the gvim to associate with a certain IDE
2) filename
3) (optional) line number in the file |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.149.7.172
|