From e8635d9825063e73eaef67ec68397f4d332471a2 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Thu, 12 May 2016 19:04:06 +0200 Subject: Tabs in markdown and drowmark --- vim/.vim/ftplugin/drowmark.vim | 4 ++++ vim/.vim/ftplugin/markdown.vim | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'vim') diff --git a/vim/.vim/ftplugin/drowmark.vim b/vim/.vim/ftplugin/drowmark.vim index b37384c..be65689 100644 --- a/vim/.vim/ftplugin/drowmark.vim +++ b/vim/.vim/ftplugin/drowmark.vim @@ -21,3 +21,7 @@ augroup END " Highlight spelling errors in red and underline hi clear SpellBad hi SpellBad cterm=underline ctermfg=Red + +" Tabs to 2 spaces +set tabstop=2 softtabstop=0 expandtab shiftwidth=2 +set autoindent diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim index c70307d..f891b35 100644 --- a/vim/.vim/ftplugin/markdown.vim +++ b/vim/.vim/ftplugin/markdown.vim @@ -23,3 +23,7 @@ augroup END " Highlight spelling errors in red and underline hi clear SpellBad hi SpellBad cterm=underline ctermfg=Red + +" Tabs to 2 spaces +set tabstop=2 softtabstop=0 expandtab shiftwidth=2 +set autoindent -- cgit v1.2.3