From 67968363708f82d471f49f119a4713c944173ff8 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Wed, 3 Oct 2018 13:37:17 -0400 Subject: Moves ftplugins to after file for vim --- vim/.vim/after/ftplugin/asm.vim | 0 vim/.vim/after/ftplugin/by.vim | 2 ++ vim/.vim/after/ftplugin/c.vim | 3 +++ vim/.vim/after/ftplugin/conf.vim | 2 ++ vim/.vim/after/ftplugin/go.vim | 2 ++ vim/.vim/after/ftplugin/haskell.vim | 6 ++++++ vim/.vim/after/ftplugin/java.vim | 2 ++ vim/.vim/after/ftplugin/mail.vim | 3 +++ vim/.vim/after/ftplugin/nroff.vim | 2 ++ vim/.vim/after/ftplugin/python.vim | 7 +++++++ vim/.vim/after/ftplugin/rst.vim | 6 ++++++ vim/.vim/after/ftplugin/tex.vim | 1 + vim/.vim/after/ftplugin/tr.vim | 2 ++ vim/.vim/after/ftplugin/tree.vim | 13 +++++++++++++ vim/.vim/after/ftplugin/txt.vim | 2 ++ 15 files changed, 53 insertions(+) create mode 100644 vim/.vim/after/ftplugin/asm.vim create mode 100644 vim/.vim/after/ftplugin/by.vim create mode 100644 vim/.vim/after/ftplugin/c.vim create mode 100644 vim/.vim/after/ftplugin/conf.vim create mode 100644 vim/.vim/after/ftplugin/go.vim create mode 100644 vim/.vim/after/ftplugin/haskell.vim create mode 100644 vim/.vim/after/ftplugin/java.vim create mode 100644 vim/.vim/after/ftplugin/mail.vim create mode 100644 vim/.vim/after/ftplugin/nroff.vim create mode 100644 vim/.vim/after/ftplugin/python.vim create mode 100644 vim/.vim/after/ftplugin/rst.vim create mode 100644 vim/.vim/after/ftplugin/tex.vim create mode 100644 vim/.vim/after/ftplugin/tr.vim create mode 100644 vim/.vim/after/ftplugin/tree.vim create mode 100644 vim/.vim/after/ftplugin/txt.vim (limited to 'vim/.vim/after/ftplugin') diff --git a/vim/.vim/after/ftplugin/asm.vim b/vim/.vim/after/ftplugin/asm.vim new file mode 100644 index 0000000..e69de29 diff --git a/vim/.vim/after/ftplugin/by.vim b/vim/.vim/after/ftplugin/by.vim new file mode 100644 index 0000000..7f2b61c --- /dev/null +++ b/vim/.vim/after/ftplugin/by.vim @@ -0,0 +1,2 @@ +set nospell +set tw=0 diff --git a/vim/.vim/after/ftplugin/c.vim b/vim/.vim/after/ftplugin/c.vim new file mode 100644 index 0000000..a445f6f --- /dev/null +++ b/vim/.vim/after/ftplugin/c.vim @@ -0,0 +1,3 @@ +set tw=0 +set cindent +set nospell diff --git a/vim/.vim/after/ftplugin/conf.vim b/vim/.vim/after/ftplugin/conf.vim new file mode 100644 index 0000000..7f2b61c --- /dev/null +++ b/vim/.vim/after/ftplugin/conf.vim @@ -0,0 +1,2 @@ +set nospell +set tw=0 diff --git a/vim/.vim/after/ftplugin/go.vim b/vim/.vim/after/ftplugin/go.vim new file mode 100644 index 0000000..736e482 --- /dev/null +++ b/vim/.vim/after/ftplugin/go.vim @@ -0,0 +1,2 @@ +set tw=0 +set cindent diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim new file mode 100644 index 0000000..109cd5b --- /dev/null +++ b/vim/.vim/after/ftplugin/haskell.vim @@ -0,0 +1,6 @@ +" Tab specific option +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 diff --git a/vim/.vim/after/ftplugin/java.vim b/vim/.vim/after/ftplugin/java.vim new file mode 100644 index 0000000..736e482 --- /dev/null +++ b/vim/.vim/after/ftplugin/java.vim @@ -0,0 +1,2 @@ +set tw=0 +set cindent diff --git a/vim/.vim/after/ftplugin/mail.vim b/vim/.vim/after/ftplugin/mail.vim new file mode 100644 index 0000000..c6e2b8a --- /dev/null +++ b/vim/.vim/after/ftplugin/mail.vim @@ -0,0 +1,3 @@ +set softtabstop=4 +set shiftwidth=4 +set expandtab 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/python.vim b/vim/.vim/after/ftplugin/python.vim new file mode 100644 index 0000000..643e63d --- /dev/null +++ b/vim/.vim/after/ftplugin/python.vim @@ -0,0 +1,7 @@ +set nospell +set tw=0 +set tabstop=8 +set softtabstop=8 +set shiftwidth=8 +set noexpandtab + diff --git a/vim/.vim/after/ftplugin/rst.vim b/vim/.vim/after/ftplugin/rst.vim new file mode 100644 index 0000000..c5fc1a9 --- /dev/null +++ b/vim/.vim/after/ftplugin/rst.vim @@ -0,0 +1,6 @@ +" Tab specific option +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 new file mode 100644 index 0000000..87f4512 --- /dev/null +++ b/vim/.vim/after/ftplugin/tex.vim @@ -0,0 +1 @@ +set spell diff --git a/vim/.vim/after/ftplugin/tr.vim b/vim/.vim/after/ftplugin/tr.vim new file mode 100644 index 0000000..3098f3d --- /dev/null +++ b/vim/.vim/after/ftplugin/tr.vim @@ -0,0 +1,2 @@ +set spell +autocmd BufWritePost * !pic % | tbl | eqn | troff -ms | grops > %:r.ps diff --git a/vim/.vim/after/ftplugin/tree.vim b/vim/.vim/after/ftplugin/tree.vim new file mode 100644 index 0000000..073abf6 --- /dev/null +++ b/vim/.vim/after/ftplugin/tree.vim @@ -0,0 +1,13 @@ +set tw=0 +set nolist +set nospell + +map pp a, 01 +map PP a, 09 +map tt a, 06 +map bb a, 07 +map ss a, 03 +map SS a, 04 +map nn a, 05 +map vv a, 02 +map cc a, Cull diff --git a/vim/.vim/after/ftplugin/txt.vim b/vim/.vim/after/ftplugin/txt.vim new file mode 100644 index 0000000..7dcafeb --- /dev/null +++ b/vim/.vim/after/ftplugin/txt.vim @@ -0,0 +1,2 @@ +set spell +set tw=70 -- cgit v1.1