Cocoa.vim
:help cocoa
- cocoa.vim uses snipMate to code completion
<c-x><c-o>
<tab>
- useful plugin: objc_matchbracket.vim
:ListMethods
-
:BuildMethods
.h
->.m
- look document
:CocoaDoc
K
- 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
-
:A
switches to the header file corresponding to the current file being edited (or vise versa) -
:AS
splits and switches -
:AV
vertical splits and switches -
:AT
new tab and switches -
:AN
cycles through matches -
:IH
switches to file under cursor -
:IHS
splits and switches -
:IHV
vertical splits and switches -
:IHT
new tab and switches -
:IHN
cycles through matches -
<leader>ih
switches to file under cursor -
<leader>is
switches to the alternate file of file under cursor (e.g. on switches to foo.cpp) -
<leader>ihn
cycles through matches
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。