1

I am making a c++ program with vi. It has only one file but it's getting kind of big. It would be nice if I could easily see all the functions I created and jump to any one of them without having to search for them. Can vi do this, or is there a similar program that can?

node ninja
  • 28,340
  • 55
  • 153
  • 242
  • BTW, a better title for this question would be "How can I jump to functions in a C++ project with vi or something similar?" – Josh Glover Apr 28 '11 at 08:34

2 Answers2

6

This seems like a dup of Jump to function definition in vim.

To sum up that answer, use ctags, and take a look at Vim and Ctags tips and tricks.

Community
  • 1
  • 1
Josh Glover
  • 22,264
  • 24
  • 83
  • 124
1

I use a vim plugin to do this :

http://www.vim.org/scripts/script.php?script_id=273

It summarizes classes, struct, function, with jump functionality.

M'vy
  • 5,322
  • 2
  • 26
  • 41