aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/text/text.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/text/text.vim')
-rw-r--r--files/vim/ftplugin/text/text.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/files/vim/ftplugin/text/text.vim b/files/vim/ftplugin/text/text.vim
new file mode 100644
index 0000000..bf6b9ab
--- /dev/null
+++ b/files/vim/ftplugin/text/text.vim
@@ -0,0 +1,12 @@
+" ~/.vim/ftplugin/text.vim
+" Plain text files vim configuration
+"
+" Syntastic linter: proselint
+
+nnoremap <leader>C :sp ~/.vim/ftplugin/text/text.vim<CR>
+nnoremap <leader>e :Errors<CR>
+
+call matchadd('ColorColumn', '\%101v', 100)
+
+" Proselint is slow to act
+" let g:syntastic_text_checkers = ['proselint']