aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-18 17:29:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-18 17:29:49 +1200
commit6f2f71721d1de3853e290624fe7eef99ddc92ccc (patch)
tree2c3ae838fb7c141a2c33f37c5edacd76c6965f31
parentCorrect options order (diff)
downloaddotfiles-6f2f71721d1de3853e290624fe7eef99ddc92ccc.tar.gz
dotfiles-6f2f71721d1de3853e290624fe7eef99ddc92ccc.zip
Simplify 'path' definition
-rw-r--r--vim/vimrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 6664314f..136c775a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -144,9 +144,8 @@ set nomodeline
" Treat numbers with a leading zero as decimal, not octal
set nrformats-=octal
-" Options for file search
-set path-=/usr/include " Let the C/C++ filetypes set that
-set path+=** " Search current directory's whole tree
+" Search whole directory tree, and not /usr/include
+set path=**
" Disable command line display of file position
" This is Vim's default, but not NeoVim's