Add vim plugin to enhance netrw by setting defaults
This commit is contained in:
parent
111a1c3dd7
commit
0df5aaf0e0
1 changed files with 15 additions and 0 deletions
15
vim/plugin/better_netrw.vim
Normal file
15
vim/plugin/better_netrw.vim
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
let g:netrw_liststyle=3
|
||||||
|
|
||||||
|
let g:netrw_banner=0
|
||||||
|
|
||||||
|
let g:netrw_browse_split=4
|
||||||
|
" 1 - open files in a new horizontal split
|
||||||
|
" 2 - open files in a new vertical split
|
||||||
|
" 3 - open files in a new tab
|
||||||
|
" 4 - open in previous window
|
||||||
|
|
||||||
|
" Netrw window size in %
|
||||||
|
let g:netrw_winsize = 25
|
||||||
|
|
||||||
|
" Reuse directory listings
|
||||||
|
let g:netrw_fastbrowse = 1
|
Loading…
Reference in a new issue