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

Re: Is it possible to get the name of the function the cursor is in, in the status bar or something?!

Expand Messages
  • Gary Johnson
    ... The more recent version is at http://vim.sourceforge.net/scripts/script.php?script_id=610 The original version put the function name in the title bar. The
    Message 1 of 10 , Sep 8, 2003
      On 2003-09-08, Michael Denio <mike@...> wrote:
      > On Mon, Sep 08, 2003 at 09:14:18PM +0100, James R Bamford wrote:
      > > Hiya folks again..
      > >
      > > My last silly question for a little time.. I've always liked VIM and with
      > > some of the recent tips i got off the site have helped me get VIM working
      > > almost perfectly... one of the final little things that'd be nice to have
      > > would be some kind of indication of the function name that i am currently in
      > > with the cursor.. I have ctags setup and was thinking that surely getting
      > > the 1st function definition above the cursor would be sufficient for
      > > identifying the function name... if somehow this could be displayed it'd be
      > > really neat... would save page ups and back down if you weren't sure..
      > >
      > >
      >
      > This should fit the bill. I believe I got a more recent version from
      > his website though.
      >
      > http://vim.sourceforge.net/scripts/script.php?script_id=12

      The more recent version is at

      http://vim.sourceforge.net/scripts/script.php?script_id=610

      The original version put the function name in the title bar. The
      newer version puts the function name in the status line instead of,
      or in addition to, the title bar. It also works with multiple/split
      windows.

      Gary

      --
      Gary Johnson | Agilent Technologies
      garyjohn@... | Wireless Division
      | Spokane, Washington, USA
    Your message has been successfully submitted and would be delivered to recipients shortly.