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

Re: ctags and vim

Expand Messages
  • Kremer Markus (PN-SYS/DSA)
    thank you Douglas, that is what i need. Now i create 2 different tag files (one for the definitions and one for prototypes). map map
    Message 1 of 4 , Jul 2, 2001
      thank you Douglas,
      that is what i need. Now i create 2 different tag files (one for the
      definitions and one for prototypes).
      map <F12> <C-]>
      map <S-F12> <C-]>:tl<CR>
      set tags=.tag_def,.tag_proto
      Now F12 jumps to the definition and shift-F12 jumps to the prototype without
      bothering what i am currently editing.


      bye for now :)

      Markus


      > -----Urspr√ľngliche Nachricht-----
      > Von: Douglas L Potts [SMTP:potts.13@...]
      > Gesendet am: Montag, 2. Juli 2001 16:44
      > An: 'vim@...'
      > Betreff: Re: ctags and vim
      >
      > This is really a function of ctags. Vim only uses the output of ctags
      > to jump to the references. Namely, the filepath, and then search for
      > the pattern (or possibly the line number).
      >
      > Using the ctags flags however, you can choose to include or not include
      > prototypes (possibly even to include or not include the function
      > definitions, I haven't tried that). This sounds like what you will want
      > to do if you only want to jump to the definition tag.
      >
      > HTH,
      > -Doug
      >
      > --
      > *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
      > Douglas L. Potts Url: http://www.bigfoot.com/~pottsdl
      > "They call it paradise, I don't know why. Call someplace paradise, kiss
      > it
      > goodbye." - Eagles, Hell Freezes Over, 'The Last Resort'
      > *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Your message has been successfully submitted and would be delivered to recipients shortly.