Menu

opening vim at specific line number

General
A Garland
2009-09-30
2013-06-03
  • A Garland

    A Garland - 2009-09-30

    Is it possible to open the vim editor at a specific line number?  For example, after performing a search, clicking on a hit in the search results would open vim on the line with the search match.

    Is this what the "additional parameters" field is for under window->preferences->vimplugin?

    If so, how does one refer to the line number (as a macro name)?

    additional parameters: "+<what goes here for line number?>"

     
  • Bastl

    Bastl - 2009-09-30

    This is not possible at the moment, though it wouldnt be hard to implement:

    ATM, you can pass only constant arguments to vim mainly to set a eclipse-specific ".vimrc"-configuration.

    One would need to write a little parser that substitutes things like "%l" or "%s" by various parameters obtained from the eclipse environment.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.