X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=INSTALL.txt;h=949a01a7c05a58822dd6e2a67c39278cbb2ddafa;hp=9602b1e13a657332054cce3c2be51ce196486d86;hb=58bc3f9e1be7927ddb89ff6074ea425c3cfc851d;hpb=ae13f1cd2401475e1fc58be3418fb349cd69fb98 diff --git a/INSTALL.txt b/INSTALL.txt index 9602b1e..949a01a 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,6 +1,6 @@ -1. Put the pygdb directory to somewhere, lets call it -2. Add the following lines into your ~/.gvimrc: +1. Put the pygdb directory to somewhere, lets call it in this help file. +2. Add the following lines into your ~/.vimrc: python << >> import sys @@ -14,5 +14,10 @@ autocmd BufRead *.c* call GDBMapDefaults() where you replace by the corresponding path of pygdb. You may want to - add to the environment variable PATH resp. PYTHONPATH such that you - cou can call pygdb from console by hand. + add to the environment variable PATH such that you cou can call pygdb + from console directly. + + If you like, you can add the following line. It leads to a configuration file + loading when opening a source file + autocmd BufRead *.c* :GDBLoadConfig +