开发者

switching between implementation and header files in vi

In Xcode when editing either an implementation or header file there is a shortcut key to quickly开发者_Python百科 switch to its counterpart. Can this be done in vi?


In Vim, you can use the A plugin. I have no idea about Vi though.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜