Loading ...
Sorry, an error occurred while loading the content.

65360Re: Finding prototypes in header files

Expand Messages
  • Yegappan Lakshmanan
    Feb 1, 2006
    • 0 Attachment
      Hi Russell,

      On 2/1/06, Russell Bateman <russ@...> wrote:
      > Yegappan,
      >
      > Of course, ^T (ctrl-t) doesn't take you back to whence you came. I do a
      > :e#. Is there an alternative? How do personally you get back to where you
      > started?
      >

      You can use the CTRL-O key to jump back to the previous file position.

      :help jumplist

      - Yegappan

      > Russ
      >
      >
      > Yegappan Lakshmanan wrote:
      > Hi,
      >
      > On 2/1/06, Ernest Obusek <eobusek@...> wrote:
      >
      >
      > Thank you all for your help. I have already been using ctags, but
      > you gave me some ideas on how to use it better. However I still
      > can't figure out how to get to a prototype in a header file. When I
      > used ctrl-] on a function name in a cpp file, it takes me to the
      > implementation of the function, which is great. But I also want to
      > have a way to jump to the prototype in the header file. If I do :ts
      > after this it doesn't show any additional matches.
      >
      >
      > If all your prototypes are in header files or placed at the beginning
      > of the source file, then you can use [<CTRL-I> command (which is
      > same as [<Tab>) to jump to the prototype. Note that this may not
      > work in all the cases.
      >
      > :help [_CTRL-I
      >
      > - Yegappan
      >
      >
      >
      >
    • Show all 7 messages in this topic