X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=INSTALL.txt;fp=INSTALL.txt;h=b48a265a59f70cdbaf4561e1cf88153467499926;hp=949a01a7c05a58822dd6e2a67c39278cbb2ddafa;hb=257aca6c2a5e3038d6792928e7dbf9b6e28b198b;hpb=45cba3449f4f5d044edb80ff7062c7fce4047142 diff --git a/INSTALL.txt b/INSTALL.txt index 949a01a..b48a265 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -10,8 +10,8 @@ sys.path.append(pygdbdir) >> - autocmd BufRead *.c* source /pygdb.vim - autocmd BufRead *.c* call GDBMapDefaults() + autocmd Filetype c,cpp source /pygdb.vim + autocmd Filetype c,cpp call GDBMapDefaults() where you replace by the corresponding path of pygdb. You may want to add to the environment variable PATH such that you cou can call pygdb