2

Often times, there are name overloading for man page sections. For example, I tried to lookup

getopt(...)

with SHIFTK and vim opened GETOPT(1) but actually I wanted GETOPT(3) because I'm writing C-program.

Is there a way to specify which man page section to open in VIM?

AlG
  • 14,697
  • 4
  • 41
  • 54
Patrick
  • 4,186
  • 9
  • 32
  • 45

1 Answers1

6

Thanks to romainl, I looked up vim help and the proper way to do it is

<section number>K

i.e. 3K under getopt will open GETOPT(3).

Patrick
  • 4,186
  • 9
  • 32
  • 45