From 9ea69fb2189142841ae0cee9b9775a541c4907b3 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Wed, 3 Jun 2020 14:47:42 -0300 Subject: [PATCH] Attempt to `set wrap` in vimdiff buffers --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 1016484..55806e1 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -378,3 +378,6 @@ let g:vim_json_syntax_conceal = 0 let g:NERDSpaceDelims = 1 set conceallevel=0 + +" Set wrap in vimdiff +autocmd FilterWritePre * if &diff | setlocal wrap< | endif