From 3b8e9c4847c8d919866aa9e364b6d9ee7e9033ec Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 Jul 2018 18:07:47 +1200 Subject: Interfere more specifically with 'path' --- vim/vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 9ee5c264..93e84dc8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -140,9 +140,10 @@ if has('extra_search') set incsearch " Show matches as I type endif -" More sensible language-agnostic setting for gf/:find +" Options for file search with gf/:find if has('file_in_path') - set path=.,,** + set path-=/usr/include " Let the C/C++ filetypes set that + set path+=** " Search current directory's whole tree endif " Don't load GUI menus; set here before GUI starts -- cgit v1.2.3