Fix netrw window sizes
This commit is contained in:
parent
054872f51b
commit
2385de4314
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ let g:netrw_browse_split=4
|
||||||
" 4 - open in previous window
|
" 4 - open in previous window
|
||||||
|
|
||||||
" Netrw window size in %
|
" Netrw window size in %
|
||||||
let g:netrw_winsize = 25
|
let g:netrw_winsize = 20
|
||||||
|
|
||||||
" Reuse directory listings
|
" Reuse directory listings
|
||||||
let g:netrw_fastbrowse = 1
|
let g:netrw_fastbrowse = 1
|
||||||
|
@ -20,6 +20,7 @@ augroup NETRW
|
||||||
au FileType netrw nmap <buffer> h -:exec("tcd ".b:netrw_curdir)<CR>
|
au FileType netrw nmap <buffer> h -:exec("tcd ".b:netrw_curdir)<CR>
|
||||||
au FileType netrw nmap <buffer> <space> <CR>
|
au FileType netrw nmap <buffer> <space> <CR>
|
||||||
au FileType netrw nmap <nowait> <buffer> q :q<CR>
|
au FileType netrw nmap <nowait> <buffer> q :q<CR>
|
||||||
|
au FileType netrw set winfixwidth
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
function s:vex()
|
function s:vex()
|
||||||
|
|
Loading…
Reference in a new issue