aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin/nroff.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/ftplugin/nroff.vim')
-rw-r--r--vim/.vim/ftplugin/nroff.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/nroff.vim b/vim/.vim/ftplugin/nroff.vim
new file mode 100644
index 0000000..fd5afa6
--- /dev/null
+++ b/vim/.vim/ftplugin/nroff.vim
@@ -0,0 +1,3 @@
+set spell
+
+autocmd BufWritePost * silent! execute "!grap % | pic | tbl | eqn | troff -ms | grops > %:r.ps" | redraw!