softwrap prose

This commit is contained in:
Jason Swank
2026-03-23 21:29:29 -04:00
parent b9801c8daa
commit 0d462adef6

View File

@@ -21,7 +21,7 @@ set showbreak=↪\
augroup filetype_wrapping augroup filetype_wrapping
autocmd! autocmd!
" Enable soft wrap for prose " 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 " Maintain no wrap for code and structured data
autocmd FileType go,python,sh,yaml,json setlocal nowrap autocmd FileType go,python,sh,yaml,json setlocal nowrap
augroup END augroup END
@@ -63,7 +63,7 @@ filetype indent on
set ofu=syntaxcomplete#Complete# set ofu=syntaxcomplete#Complete#
" au FileType python setlocal tabstop=4 expandtab shiftwidth=4 softtabstop=4 " 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 " typing idate inserts the current date
iab idate <c-r>=strftime("%Y-%m-%d")<cr> iab idate <c-r>=strftime("%Y-%m-%d")<cr>