diff options
Diffstat (limited to 'vim/.vim/after/ftplugin/nroff.vim')
-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 |