1 2 3 4 5 6
lua <<EOF require('diffview').setup({}) EOF " close all windows when Diffview is closed autocmd QuitPre * if &filetype == 'DiffviewFiles' | quitall | endif