nvim: after/plugin/fugitive: Only keep the diff window around
Somehow dirvish buffer opens along with diff window when using this mapping. Use only to close any other windows in this tab.
This commit is contained in:
parent
aad3027a89
commit
81fc328b4e
1 changed files with 1 additions and 1 deletions
|
@ -41,5 +41,5 @@ augroup custom_fugitive
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType fugitive,fugitiveblame nnoremap <buffer><silent> q :bwipeout!<CR>
|
autocmd FileType fugitive,fugitiveblame nnoremap <buffer><silent> q :bwipeout!<CR>
|
||||||
autocmd BufReadPost fugitive:// setlocal bufhidden=wipe
|
autocmd BufReadPost fugitive:// setlocal bufhidden=wipe
|
||||||
autocmd User FugitiveIndex nmap <buffer> dt :Gtabedit <Plug><cfile><Bar>Gdiffsplit!<CR>
|
autocmd User FugitiveIndex nmap <buffer> dt :Gtabedit <Plug><cfile><Bar>Gdiffsplit!<Bar>only<CR>
|
||||||
augroup END
|
augroup END
|
||||||
|
|
Loading…
Reference in a new issue