From 761a9de32eae6f06d65f19cf09aced59e271824b Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Tue, 19 Mar 2019 10:53:33 -0400 Subject: [PATCH] Soft-wrap wiki files --- nvim/.config/nvim/init.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 63914d8..ac64386 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -14,9 +14,6 @@ set mouse= set scrolloff=2 set sidescrolloff=0 -" Wrap to 100 characters -set textwidth=100 - " Display our current line number and the offset of other lines set nu set relativenumber @@ -27,6 +24,7 @@ set nowrap set linebreak " wraps at word boundaries autocmd FileType markdown set wrap autocmd FileType tex set wrap +au BufRead,BufNewFile *.wiki set wrap " Set tabbing to depth 2 and always use spaces. set tabstop=4