aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 00:12:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 00:12:25 +1200
commitf8c71c12661360003f2b33cac1bbc7fe8497b5b9 (patch)
tree8b997c18673519260c74423e7530611824c27b20
parentAdd mapping to toggle 'autoindent' (diff)
downloaddotfiles-f8c71c12661360003f2b33cac1bbc7fe8497b5b9.tar.gz
dotfiles-f8c71c12661360003f2b33cac1bbc7fe8497b5b9.zip
Don't set 'path' to ** by default
It might still be useful, but probably only in more controlled/defined situations, and not by default.
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 48578ee2..5f860405 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -142,8 +142,8 @@ set nomodeline
" Treat numbers with a leading zero as decimal, not octal
set nrformats-=octal
-" Search whole directory tree, and not /usr/include
-set path=**
+" Don't search /usr/include by default
+set path-=/usr/include
" Disable command line display of file position
" This is Vim's default, but not NeoVim's