aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/ftplugin')
-rw-r--r--vim/.vim/after/ftplugin/haskell.vim1
-rw-r--r--vim/.vim/after/ftplugin/nroff.vim2
-rw-r--r--vim/.vim/after/ftplugin/rst.vim9
-rw-r--r--vim/.vim/after/ftplugin/tex.vim1
-rw-r--r--vim/.vim/after/ftplugin/tr.vim1
5 files changed, 6 insertions, 8 deletions
diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim
index b0ce109..109cd5b 100644
--- a/vim/.vim/after/ftplugin/haskell.vim
+++ b/vim/.vim/after/ftplugin/haskell.vim
@@ -4,4 +4,3 @@ 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
-
diff --git a/vim/.vim/after/ftplugin/nroff.vim b/vim/.vim/after/ftplugin/nroff.vim
new file mode 100644
index 0000000..031c8d9
--- /dev/null
+++ b/vim/.vim/after/ftplugin/nroff.vim
@@ -0,0 +1,2 @@
+set spell
+autocmd BufWritePost * silent! !grap % | pic | tbl | eqn | troff -ms | grops > %:r.ps
diff --git a/vim/.vim/after/ftplugin/rst.vim b/vim/.vim/after/ftplugin/rst.vim
index 4ea3bbf..c5fc1a9 100644
--- a/vim/.vim/after/ftplugin/rst.vim
+++ b/vim/.vim/after/ftplugin/rst.vim
@@ -1,7 +1,6 @@
" Tab specific option
-set tabstop=8 "A tab is 8 spaces
-set noexpandtab "Always uses spaces instead of tabs
-set shiftwidth=2 "An indent is 4 spaces
-set softtabstop=8 "Insert 4 spaces when tab is pressed
+set tabstop=4 "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
-
diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim
index 95e50d4..87f4512 100644
--- a/vim/.vim/after/ftplugin/tex.vim
+++ b/vim/.vim/after/ftplugin/tex.vim
@@ -1,2 +1 @@
set spell
-au BufWritePost * silent! execute "!pdflatex %" | redraw!
diff --git a/vim/.vim/after/ftplugin/tr.vim b/vim/.vim/after/ftplugin/tr.vim
deleted file mode 100644
index 87f4512..0000000
--- a/vim/.vim/after/ftplugin/tr.vim
+++ /dev/null
@@ -1 +0,0 @@
-set spell