From: Stefan Huber Date: Sun, 15 Jun 2008 07:00:29 +0000 (+0200) Subject: change from BufRead to Filetype in install notes X-Git-Tag: v0.99.2~5 X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=commitdiff_plain;h=257aca6c2a5e3038d6792928e7dbf9b6e28b198b change from BufRead to Filetype in install notes --- 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