diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-09-26 18:49:58 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-09-26 18:49:58 -0400 |
commit | 543f19de1eae7aefca39b9cc214e75e00ff7af0f (patch) | |
tree | 3d71a04a6fd34732143090ce7202b9440016921e /vim/.vim/after/ftplugin | |
parent | 901b7cb549482a553ad8cb1c608e66caf66e98bd (diff) |
Update vim config
Diffstat (limited to 'vim/.vim/after/ftplugin')
-rw-r--r-- | vim/.vim/after/ftplugin/nroff.vim | 7 |
1 files changed, 7 insertions, 0 deletions
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 |