OmniCppComplete & C/C++ IDE
1.get src.
2.setup ctags
# tar xzvf ctags-XXXX.tar.gz
# cd ctags-xxxx
# ./configure
# make
# make install
when install,should be root or user has permission.
3.setup vim plugin
# mkdir ~/.vim
# cd ~/.vim
# unzip
# unzip
4.add .vimrc
# vim ~/.vimrc
---add this below 2 lines---
filetype plugin on
set nocompatible
5.activate OmniComplete
# vim foo.cx
:helptags ~/.vim/doc
Then now able to do this functions.
OmniComplete
Adding file header
Adding function/frame comment
Including default code snippet
Performing syntax check
Reading documentation about a function
Converting a code block to comment, and vice versa
0 件のコメント:
コメントを投稿