Chinaunix首页 | 论坛 | 博客
  • 博客访问: 46479
  • 博文数量: 11
  • 博客积分: 383
  • 博客等级: 一等列兵
  • 技术积分: 133
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-17 19:54
文章分类

全部博文(11)

文章存档

2012年(3)

2011年(8)

我的朋友

分类: LINUX

2011-12-07 21:43:22

let g:neocomplcache_enable_at_startup=1 #这个是对应插件使用的配置
set nocompatible
set cindent
set autoindent
set smartindent
set nu
set noeb
set confirm
set ruler
filetype on
filetype plugin on
filetype indent on
color default
set tabstop=4
set softtabstop=4
set smarttab
set fdm=indent
set shiftwidth=4
set showmatch
syntax on

map :call CompileRunGcc()
func! CompileRunGcc()
    exec "W"
    exec "!gcc -g % -o %<"
    exec "! ./%<"
endfunc

map :call CompileRunGpp()
func! CompileRunGpp()
    exec "W"
    exec "!g++ -g % -o %<"
    exec "! ./%<"
endfunc

阅读(1033) | 评论(0) | 转发(0) |
0

上一篇:筛法求素数

下一篇:让程序汇报工作进度

给主人留下些什么吧!~~