From 63b33b6a08bc23abe3bba5106336ca15da95a44e Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Fri, 15 Jan 2016 09:36:18 +0100 Subject: [PATCH] Maximum text widt in Markdown --- vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index b285a32..4d5cbca 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -24,7 +24,8 @@ imap :update:make let g:syntastic_cpp_compiler="g++" let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" -autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 +autocmd Filetype python setlocal expandtab +autocmd Filetype markdown setlocal textwidth=79 " Remove trailing whitespace, always. autocmd BufWritePre * :%s/\s\+$//e