vim/after/ftplugin/netrw.vim

5 lines
141 B
VimL

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