aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index c214070..8f62762 100644
--- a/.vimrc
+++ b/.vimrc
@@ -51,6 +51,7 @@ nnoremap <c-l> <C-w>l
nnoremap <silent> <F3> :Defx<CR>
autocmd FileType defx call s:defx_my_settings()
autocmd BufEnter * if(winnr("$") == 1 && &ft == 'defx') | q | endif
+autocmd BufWritePost * call defx#redraw()
function! SmartTabEdit(context) abort
tabnew