From 14791883624bf10227a6ffa9172c8030b87d4675 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 15 Jul 2021 01:57:30 +0200 Subject: Lots of renames: stow can't handle folder with --dotfiles option. --- stow/vim/.vim/ftplugin/text/text.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 stow/vim/.vim/ftplugin/text/text.vim (limited to 'stow/vim/.vim/ftplugin/text') diff --git a/stow/vim/.vim/ftplugin/text/text.vim b/stow/vim/.vim/ftplugin/text/text.vim new file mode 100644 index 0000000..c370a74 --- /dev/null +++ b/stow/vim/.vim/ftplugin/text/text.vim @@ -0,0 +1,20 @@ +" ~/.vim/ftplugin/text/text.vim +" Plain text files vim configuration +" +" Syntastic linter: proselint + +" Tabs hate: tabs are expanded to 2 spaces +setlocal tabstop=2 shiftwidth=2 expandtab +" Show existing tabs (they can be deleted with :retab) +setlocal list + +let mapleader = " " + +call matchadd('ColorColumn', '\%101v', 100) +setlocal textwidth=100 + +nnoremap C :sp ~/.vim/ftplugin/text/text.vim + +" Proselint is slow to act +nnoremap sp :SyntasticCheck proselint +nnoremap e :Errors -- cgit v1.2.1