In Xcode when editing either an implementation or header file there is a shortcut key to quickly switch to its counterpart. Can this be done in vi?
+3
A:
Here is a big long list of different ways of doing this: http://vim.wikia.com/wiki/Easily_switch_between_source_and_header_file
I like the "Single line solution" one best - their example works only if your .h and .c files are in the same directory.
thomasrutter
2010-07-26 01:51:11