dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit fa2219a62322fd17debc963628dba4702aa811e3 (patch)
parent 9c52dc5eb289192c70ca0c7d91fb10639cf3b979
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 29 Dec 2021 20:45:33 -0500

vim: Add preferences for .txt files

Now that my blog is all .txt files parsed by nihdoc(1), I want specific
settings!

Diffstat:
A.vim/ftplugin/text.vim | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/.vim/ftplugin/text.vim b/.vim/ftplugin/text.vim @@ -0,0 +1,15 @@ +" soft wrap at word breaks +setlocal linebreak +setlocal breakindent + +" Spellcheck +setlocal spell spelllang=en_us + +" Break at 65 +setlocal textwidth=65 + +" TAB is TAB +setlocal softtabstop=8 +setlocal shiftwidth=8 +setlocal noexpandtab +setlocal nosmarttab