sys.path.append(pygdbdir)
>>
- autocmd BufRead *.c* source <dir>/pygdb.vim
- autocmd BufRead *.c* call GDBMapDefaults()
+ autocmd Filetype c,cpp source <dir>/pygdb.vim
+ autocmd Filetype c,cpp call GDBMapDefaults()
where you replace <dir> by the corresponding path of pygdb. You may want to
add <dir> to the environment variable PATH such that you cou can call pygdb