From a98ed638f42958109d96a69ff781b2dc8abd8e5f Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Tue, 23 Apr 2019 21:35:58 -0500 Subject: [PATCH] Add filetype plugin and plaintext width --- templates/.vimrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/.vimrc b/templates/.vimrc index 0aa7010..4bcada3 100644 --- a/templates/.vimrc +++ b/templates/.vimrc @@ -13,14 +13,13 @@ set hlsearch set incsearch set lazyredraw set directory=~/.vim/tmp -filetype plugin on -" indentation set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab -filetype indent on " custom file types +filetype plugin indent on autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2 +autocmd FileType markdown,plaintex,rst,tex,text setlocal textwidth=79