Chinaunix首页 | 论坛 | 博客
  • 博客访问: 84736
  • 博文数量: 23
  • 博客积分: 1622
  • 博客等级: 上尉
  • 技术积分: 290
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-02 18:49
文章分类
文章存档

2012年(2)

2011年(11)

2010年(9)

2009年(1)

分类:

2011-01-11 10:52:28

1. install vim and vim-gnome

sudo apt-get install vim
sudo apt-get install vim-gnome

2. install vim plugin c.vim

download cvim.zip from

if there already have ~/.vim, unzip cvim.zip and copy the files to ~/.vim matched folders.
otherwise

 

$ mkdir ~/.vim
$ cd 
~/.vim
$ unzip cvim.zip
Add the following line to the ~/.vimrc to enable the plugin for Vim editor.
$ vim ~/.vimrc
filetype plugin on

for details,following

 

3.install ctags

 download

tar -xvjpf ctags-5.8.tar.gz

install from source code.

$ tar -xzvf ctags-5.8.tar.gz
$ cd ctags
-5.6
$ .
/configure
$ make
# sudo make install   
// 需要root权限
:set tags=/home/mark/vim71/tags

or set tags in  ~/.vimrc. Now can go the the routine using Ctrl+] and back using Ctrl+T

 4.TagList

download TagList from

unzip taglist_45.zip

 

copy the files in doc and plugin to ~/.vim matched folders

 

 

Add the following line to the ~/.vimrc

let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow
=1

and start vim taglist window

:Tlist

5 WinManager

unzip winmanager.zip in ~/.vim

open folder using :e ~/vim71

add  to 

~/.vimrc

6 G++
apt-get install g++ gdb Makefile

阅读(1604) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~