Fandom

Vim Tips Wiki

Integrate gvim with RedHat Source-Navigator

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 974 Printable Monobook Previous Next

created 2005 · complexity basic · author Chuck Tuffli · version 5.7


The Source-Navigator (http://sourcenav.sourceforge.net) has a built in editor, but you will be unhappy if your fingers are used to vi. To solve this, configure Source-Navigator to use gvim as the editor:

File menu, Project Preferences. Click on the Edit tab. Tick "Use external editor instead of builtin". Then in the External Editor box, enter

gvim "+call cursor(%l,%c)" %f

Now, double clicking on any symbol, function, etc in Source-Navigator will start gvim and position the cursor in front of the item you clicked.

CommentsEdit

now, how do i make source-navigator open files in different tabs of the same gvim window ? with the tip, each new file gets opened in a new window.

Please see here for asking questions. --JohnBeckett 06:13, 20 April 2008 (UTC)
But, you can probably make use of --remote-tab-silent to do this.

Also on Fandom

Random Wiki