aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/text
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-03 22:36:04 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-03 22:36:04 +0100
commit0feb093f7507cedba2652cc5a8da6e74583a5c03 (patch)
treef99a60f0de3954875646b9ee30258e80589ddb87 /files/vim/ftplugin/text
parent0cf17d28c0d1f344c8c26688c05d408e611d73a8 (diff)
downloadconfigs-0feb093f7507cedba2652cc5a8da6e74583a5c03.tar.gz
configs-0feb093f7507cedba2652cc5a8da6e74583a5c03.zip
Fixed repeated ftplugin folder.
Diffstat (limited to 'files/vim/ftplugin/text')
-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']