From 0d462adef69756f13754a4967ce2abd379e31550 Mon Sep 17 00:00:00 2001 From: Jason Swank <632526+jswank@users.noreply.github.com> Date: Mon, 23 Mar 2026 21:29:29 -0400 Subject: [PATCH] softwrap prose --- vim/.config/vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/.config/vim/vimrc b/vim/.config/vim/vimrc index 4e02712..95f32d0 100644 --- a/vim/.config/vim/vimrc +++ b/vim/.config/vim/vimrc @@ -21,7 +21,7 @@ set showbreak=↪\ augroup filetype_wrapping autocmd! " Enable soft wrap for prose - autocmd FileType markdown,text,gitcommit setlocal wrap linebreak breakindent + autocmd FileType markdown,text,gitcommit setlocal wrap linebreak breakindent textwidth=0 " Maintain no wrap for code and structured data autocmd FileType go,python,sh,yaml,json setlocal nowrap augroup END @@ -63,7 +63,7 @@ filetype indent on set ofu=syntaxcomplete#Complete# " au FileType python setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 -au FileType markdown setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 wrap +au FileType markdown setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 wrap textwidth=0 " typing idate inserts the current date iab idate =strftime("%Y-%m-%d")