开发者

switching between implementation and header files in vi

开发者 https://www.devze.com 2023-01-09 00:45 出处:网络
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

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

精彩评论

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

关注公众号