From 543f19de1eae7aefca39b9cc214e75e00ff7af0f Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Thu, 26 Sep 2019 18:49:58 -0400 Subject: Update vim config --- vim/.vim/after/ftplugin/nroff.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vim/.vim/after/ftplugin') diff --git a/vim/.vim/after/ftplugin/nroff.vim b/vim/.vim/after/ftplugin/nroff.vim index a8ae553..9ce0ada 100644 --- a/vim/.vim/after/ftplugin/nroff.vim +++ b/vim/.vim/after/ftplugin/nroff.vim @@ -2,3 +2,10 @@ set spell "autocmd BufWritePost * silent! !refer % | grap | pic | tbl | eqn | troff -dpaper=a4 -ms | grops -p a4 > %:r.ps "autocmd BufWritePost * silent! !cat % | n-eqn | n-roff -ms -mtbl | n-post > %:r.ps set tw=0 +set nowrap + +set tabstop=8 "A tab is 8 spaces +set expandtab "Always uses spaces instead of tabs +set softtabstop=4 "Insert 4 spaces when tab is pressed +set shiftwidth=4 "An indent is 4 spaces +set shiftround "Round indent to nearest shiftwidth multiple -- cgit v1.1