Soft-wrap wiki files

This commit is contained in:
Nicole Tietz-Sokolskaya 2019-03-19 10:53:33 -04:00
parent 467aea94c3
commit 761a9de32e

View file

@ -14,9 +14,6 @@ set mouse=
set scrolloff=2 set scrolloff=2
set sidescrolloff=0 set sidescrolloff=0
" Wrap to 100 characters
set textwidth=100
" Display our current line number and the offset of other lines " Display our current line number and the offset of other lines
set nu set nu
set relativenumber set relativenumber
@ -27,6 +24,7 @@ set nowrap
set linebreak " wraps at word boundaries set linebreak " wraps at word boundaries
autocmd FileType markdown set wrap autocmd FileType markdown set wrap
autocmd FileType tex set wrap autocmd FileType tex set wrap
au BufRead,BufNewFile *.wiki set wrap
" Set tabbing to depth 2 and always use spaces. " Set tabbing to depth 2 and always use spaces.
set tabstop=4 set tabstop=4