diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-12 19:54:49 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-12 19:54:49 +0300 |
commit | d01eb5de14bb1ee775ce3875c3c664e39e728ba8 (patch) | |
tree | 87970f1121dcd00aac5ee5a305876a997782abee | |
parent | 534ce2c74d496a39b1c8624ce9f556c04fb331c8 (diff) | |
download | dotfiles-d01eb5de14bb1ee775ce3875c3c664e39e728ba8.tar.gz |
feat(vim): automatically refresh Defx
-rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |