diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-08 23:48:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-08 23:48:25 +1200 |
commit | d0db61f539bacafb5cb5e08b9574bce0e06264cb (patch) | |
tree | 21a3c18c3cbfae5ecc36224f979212413a73a4ba | |
parent | Flesh out a comment (diff) | |
download | dotfiles-d0db61f539bacafb5cb5e08b9574bce0e06264cb.tar.gz dotfiles-d0db61f539bacafb5cb5e08b9574bce0e06264cb.zip |
Move and more thoroughly explain 'path' settings
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -274,6 +274,12 @@ endif " set comments= commentstring= define= include= +" Similarly to the above, the default value for 'path' that lists directories +" in which project files and includes can be found adds /usr/include, which is +" another C default, so we'll get rid of that, too. +" +set path-=/usr/include + " Rather than rejecting operations like :write or :saveas when 'readonly' is " set, and other situations in which data might be lost or I'm acting against " an option, Vim should give me a prompt to allow me to confirm that I know @@ -511,9 +517,6 @@ set nomodeline " Treat numbers with a leading zero as decimal, not octal set nrformats-=octal -" Don't search /usr/include by default -set path-=/usr/include - " Disable command line display of file position if a system vimrc or Neovim " has switched it on set noruler |