aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2023-01-27 14:42:44 +0100
committerMax Christian Pohle2023-01-27 14:42:44 +0100
commit811187fedac2596dbe0c690ed8bec48a76a19968 (patch)
tree1dd3c74e817eeaf0b0094b7b2f1f2e6033fb1b36
parent5ec73d44d6eddb9491311f633f4be6ef609768b6 (diff)
downloadvim-811187fedac2596dbe0c690ed8bec48a76a19968.tar.bz2
vim-811187fedac2596dbe0c690ed8bec48a76a19968.zip
minor improvements
-rw-r--r--plugin/netrw.vim2
-rw-r--r--vimrc-common3
2 files changed, 2 insertions, 3 deletions
diff --git a/plugin/netrw.vim b/plugin/netrw.vim
index d9029cc..3619070 100644
--- a/plugin/netrw.vim
+++ b/plugin/netrw.vim
@@ -7,7 +7,7 @@ augroup NETRW
7 let g:netrw_browse_split = 4 | " 4=open in previous window 7 let g:netrw_browse_split = 4 | " 4=open in previous window
8 let g:netrw_fastbrowse = 2 | " manually refresh direcory list (avoids display errors) 8 let g:netrw_fastbrowse = 2 | " manually refresh direcory list (avoids display errors)
9 let g:netrw_hide = 1 | " show not-hidden files only 9 let g:netrw_hide = 1 | " show not-hidden files only
10 let g:netrw_keepdir = 0 10 let g:netrw_keepdir = 1 | " because that works better, when gf finds a path name
11 let g:netrw_list_hide = '^\..*' | " Explore mode: hide files starting with dot 11 let g:netrw_list_hide = '^\..*' | " Explore mode: hide files starting with dot
12 let g:netrw_liststyle = 3 | " 3=tree 12 let g:netrw_liststyle = 3 | " 3=tree
13 let g:netrw_preview = 0 | " 13 let g:netrw_preview = 0 | "
diff --git a/vimrc-common b/vimrc-common
index f650dad..c7d450d 100644
--- a/vimrc-common
+++ b/vimrc-common
@@ -25,10 +25,9 @@ set hlsearch incsearch | " highlight pattern while entering i
25"======================================================================================================================= 25"=======================================================================================================================
26" PATH -- where to search for includes (e.g. `gf` or `:find`) 26" PATH -- where to search for includes (e.g. `gf` or `:find`)
27"======================================================================================================================= 27"=======================================================================================================================
28set path+=** | " allow recursive searches for files 28set path+=**4 | " allow recursive searches for files (limit depth by 4)
29let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname) 29let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname)
30 30
31
32"======================================================================================================================= 31"=======================================================================================================================
33" SPELL_CHECKING: 32" SPELL_CHECKING:
34"======================================================================================================================= 33"=======================================================================================================================
..