Vim ios 开发插件帮助文档精华

8 篇文章 0 订阅


Cocoa.vim

  1. :help cocoa
  2. cocoa.vim uses snipMate to code completion
    • <c-x><c-o>
    • <tab>
  3. useful plugin: objc_matchbracket.vim
  4. :ListMethods
  5. :BuildMethods .h -> .m
  6. look document
    • :CocoaDoc
    • K
  7. Xcode-like mappings
    • <Leader>A Alternate between header (.h) and implementation (.m) file
    • K Look up documentation for word under cursor
    • <d-m-up> equal <Leader>A
    • <d-r> Build & Run (Go)
    • <d-cr> CMD-R
    • <d-b> Build
    • <shift-k> Clean
    • <d-0> Go to Project
    • <d-2> :ListMethods
    • <F5> (in insert mode) Show omnicompletion menu
    • <d-/> Comment out line
    • <d-[> Decrease indent
    • <d-]> Increase indent

a.vim

  1. :A switches to the header file corresponding to the current file being edited (or vise versa)
  2. :AS splits and switches
  3. :AV vertical splits and switches
  4. :AT new tab and switches
  5. :AN cycles through matches
  6. :IH switches to file under cursor
  7. :IHS splits and switches
  8. :IHV vertical splits and switches
  9. :IHT new tab and switches
  10. :IHN cycles through matches
  11. <Leader>ih switches to file under cursor
  12. <Leader>is switches to the alternate file of file under cursor (e.g. on switches to foo.cpp)
  13. <Leader>ihn cycles through matches
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值