diff options
| -rw-r--r-- | plugin/netrw.vim | 2 | ||||
| -rw-r--r-- | vimrc-common | 3 |
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 | "======================================================================================================================= |
| 28 | set path+=** | " allow recursive searches for files | 28 | set path+=**4 | " allow recursive searches for files (limit depth by 4) |
| 29 | let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname) | 29 | let &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 | "======================================================================================================================= |
