vim/after/ftplugin/netrw.vim

5 lines
132 B
VimL

nmap <buffer><silent> o <CR>:call CloseNetrw(1)<CR>
nmap <buffer><silent> q :call CloseNetrw(0)<CR>
setl bufhidden=wipe
setl rnu nu