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
  • 31,796
  • 59
  • 166
  • 254
  • 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
  • 25,142
  • 27
  • 92
  • 129
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,696
  • 2
  • 30
  • 43