VimGDB install

来源:互联网 发布:基因工程中数据分析 编辑:程序博客网 时间:2024/06/06 03:35

Download these files:

vim-7.3.tar.bz2 http://www.vim.org/sources.php

vimgdb-for-vim7.3 (this patch) https://github.com/larrupingpig/vimgdb-for-vim7.3

Untar all files, apply the patch and make Vim:

tar xjvf vim-7.3.tar.bz2 -C /tmptar xzvf vimgdb-for-vim7.3.tar.gz -C /tmpcd /tmppatch -p0 < vimgdb-for-vim7.3/vim73.patchcd vim73/srcmakesudo make install

IMPORTANT NOTE:you must run make (not ./configure), and if you run ./configure then you must add the –enable-gdb command line argument in order to include the gdb feature (vimgdb) in vim.

Install vimGdb runtime:

Copy the file vimgdb_runtime found in the vimgdb tarball, to your runtime path. To find your runtime path location execute the vim command (this is usually $HOME/.vim): :set runtimepath?

cp -rf /tmp/vimgdb-for-vim7.3/vimgdb_runtime/* ~/.vim

Change to the doc directory, start Vim and run the “:helptags .” command to process the taglist help file. Without this step, you cannot jump to the taglist help topics. You can now use the “:help vimgdb” command to get the vimGdb documentation.

0 0
原创粉丝点击