description:
|
** Statement oriented editing ofC / C++ programs
** Speed up writing new code considerably.
** Write code und comments with a professional appearance from the beginning.
** Use code snippets
|
/**###########################安装方法(中文描述)###########################################
1.liunx 下找到 vim 安装位置 将 其解压在根目录下面
命令:unzip c.vim 既可以了
注意:
默认yum 方式安装vim 在
[root@yuxiaolin c]# cd /usr/share/vim/
[root@yuxiaolin vim]# ll
总用量 8
drwxr-xr-x. 17 root root 4096 2月 29 2012 vim72
drwxr-xr-x. 18 root root 4096 2月 28 00:20 vimfiles
这里有两个文件 将解压的
将c-support
复制一份到vimfiles
就ok了。
建立一个.c的文件
-- Help -----------------------------------------------
223/hm show manual
for word under the cursor(n,i)
224/hp show plugin
help(n,i)
225
226-- Comments -------------------------------------------
227/cl end-of-linecomment(n,v,i)
228/cj adjust end-of-linecomment(s)(n,v,i)
229/cs set end-of-linecommentcolumn(n)
230/c* code ->comment/*
*/(n,v)
231/cc code ->comment//(n,v)
232/cocomment->
code(n,v)
233/cfrframecomment(n,i)
234/cfufunctioncomment(n,i)
235/cmemethod description(n,i)
236/cclclass description(n,i)
237/cd date(n,v,i)
238/ct date /& time(n,v,i)
239
240-- Statements ------------------------------------------
241/sd do {}while(n,v,i)
242/sfofor {}(n,v,i)
243/sife if {}else
{}(n,v,i)
244/se else {}(n,v,i)
245/swhwhile {}(n,v,i)
246/ss switch(n,v,i)
247
248-- Preprocessor -----------------------------------------
249/p< #include
<>(n,i)
250/p''#include
""(n,i)
251/pd #define(n,i)
252/pu #undef(n,i)
253/pie#if#else
#endif(n,v,i)
254/pid#ifdef #else
#endif(n,v,i)
255/pin#ifndef #else
#endif(n,v,i)
256/pind #ifndef #def
#endif(n,v,i)
257/pi0#if 0 #endif(n,v,i)
258/pr0remove #if
0 #endif(n,i)
259/pe #error(n,i)
260/pl #line(n,i)
261/pp #pragma(n,i)
262
263-- Idioms ------------------------------------------------
264/if function(n,v,i)
265/isfstatic function(n,v,i)
266/im main()(n,v,i)
267/i0 for(
x=0; x<n; x+=1 )(n,v,i)
268/in for(
x=n-1; x>=0; x-=1 )(n,v,i)
269/ie enum +
typedef(n,i)
270/is struct +
typedef(n,i)
271/iu union+
typedef(n,i)
272/ip printf()(n,i)
273/iscscanf()(n,i)
274/icap=calloc()(n,i)
275/imap=malloc()(n,i)
276/isisizeof()(n,v,i)
277/iasassert()(n,v)
278/ii open input
file(n,i)
279/io open output
file(n,i)
280
281-- Snippets ------------------------------------------------
282/nr read code
snippet(n,i)
283/nw write code
snippet(n,v,i)
284/ne edit code
snippet(n,i)
285/np pick up prototype(n,v,i)
286/ni insert prototype(s)(n,i)
287/nc clearprototype(s)(n,i)
288/ns show prototype(s)(n,i)
289/ntledit local
templates(n,i)
290/ntgedit global
templates(n,i)
291/ntrrebuild templates(n,i)
292
293-- C++ ----------------------------------------------------
294/+cocout<<<<
endl;(n,i)
295/+c class(n,i)
296/+cnclass(using
new)(n,i)
297/+ciclass implementation(n,i)
298/+cni class(using
new)implementation(n,i)
299/+mimethod implementation(n,i)
300/+aiaccessor
implementation(n,i)
301
302/+tctemplate
class(n,i)
303/+tcn template
class(using new)(n,i)
304/+tci template
class implementation(n,i)
305/+tcnitemplate
class(using new)impl.(n,i)
306/+tmi template
method implementation(n,i)
307/+tai template
accessor implementation(n,i)
308
309/+tftemplate
function(n,i)
310/+ecerrorclass(n,i)
311/+trtry ... catch(n,v,i)
312/+cacatch(n,v,i)
313/+c.catch(...)(n,v,i)
314
315-- Run ---------------------------------------------------
316/rc save and
compile(n,i)
317/rl link(n,i)
318/rr run(n,i)
319/ra set comand
line arguments(n,i)
320/rm run make(n,i)
321/rg cmd. line
arg. for make(n,i)
322/rp run splint(n,i)
323/ri cmd. line
arg. for splint(n,i)
324/rk run CodeCheck(TM)(n,i)
325/re cmd. line
arg. for CodeCheck(TM)(n,i)
326/rd run indent(n,v,i)
327/rh hardcopy
buffer(n,v,i)
328/rs show plugin
settings(n,i)
329/rx set xterm
size(n, only Linux/UNIX & GUI)
330/ro change output
destination(n,i)
331
分享到:
相关推荐
Linux-CentOS7离线安装VIM及相关依赖包 vim-8.0.zip gpm-libs-1.20.7-6.el7.i686.rpm ncurses-5.9-14.20130511.el7_4.x86_64.rpm ncurses-base-5.9-14.20130511.el7_4.noarch.rpm ncurses-devel-5.9-14.20130511.el7...
这个资源包括vim-7.4.tar.bz2和vimgdb-for-vim7.4-master.zip
gvim常用插件及其配置文件 支持c,perl,python,latex。 需要自己安装ctags .vim: after compiler doc indent ltags perl-support skeleton syntax autoload c-support ftdetect keymap Makefile plugin ...
Ubuntu 64位免安装版VIM-IDE。 压缩包为直接打包/etc/vim配置及插件包。 root@ubuntu:/etc/vim# tree -L 2 . bundle ale auto-pairs echofunc gdbmgr indentLine LeaderF nerdcommenter nerdtree nerdtree...
vim-6.4.tar.bz2 一个linux下的编辑器
VIM 实用插件整理,vim-8.2.0100.tar.gz,1.Vundle.vim,2.vim-colors-solarized,3.nerdtree,4.tagbar,5.taglist,6.vim-airline,7.YouCompleteMe,8.ultisnips.....
vim-common-7.4.629-7.el7.x86_64.rpm
[服务器和数据中心虚拟化].VMware-VIMSetup-all-5.0.0-639890.iso 详情 2.3GB [服务器和数据中心虚拟化].VMware-VIMSetup-all-5.0.0-639890.zip 详情 2GB [服务器和数据中心虚拟化].VMware-viclient-all-5.0.0-...
sudo apt-get remove vim-tiny sudo apt-get install vim # 调试插件 ...git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim ...参考文章《vim配置成顺手的python轻量级IDE》
找一个值得倾注一生的文本编辑器:Vim is chosen. Vim的高度可配是众多编程大神的利器 但是配置vim的众多插件资源分散 vim.org,反正我是上不去 github一般家庭网络不是很稳定 花了好多时间,攒下的vim插件大集合。 ...
vim常用插件: 1. omnicppcomplete-0.41.zip 2. taglist_46_vim.zip 3. vim-autocomplpop.zip
vmware vcenter6.5 for windows版本。 VMware-VIM-all-6.5.0-14020092
vim英文书籍,包含 Hacking-vim Learning.the.vi.and.Vim.Editors Vimbook-OPL
vscodevim.vim-1.25.2.vsix.pngvscodevim.vim-1.25.2.vsix.pngvscodevim.vim-1.25.2.vsix.pngvscodevim.vim-1.25.2.vsix.png
vim velocity插件 velocity.vim vim异常强大哦
go语言高亮vim插件,go语言高亮vim插件,go语言高亮vim插件 go语言高亮vim插件.go语言高亮vim插件
Python-mode:将 Vim 变成 Python IDE 的一款多合一插件
数据结构大作业-基于C++实现的青春版vim编辑器源码+实验报告+详细注释.tar数据结构大作业-基于C++实现的青春版vim编辑器源码+实验报告+详细注释.tar数据结构大作业-基于C++实现的青春版vim编辑器源码+实验报告+详细...
本文件是在ubuntu下配置vim,变成C/C++集成开发环境,实现代码自动补全,函数参数提示,代码跳转,文件列表和函数项显示等功能,在ubuntu12.04 和ubuntu14.04中测试通过,只需执行vim.sh脚本即可,注意脚本中的vim73...
VMware-VIM-all-6.7.0-15976714 原版镜像 .................................................................................................................