summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-05-12 19:04:06 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-05-12 19:04:06 +0200
commite8635d9825063e73eaef67ec68397f4d332471a2 (patch)
tree30799c98d3244ca9f0c8fe6fa2fc94f6f91cb253 /vim
parente00351d062bea164bc6970c7102cae1b15080809 (diff)
Tabs in markdown and drowmark
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/ftplugin/drowmark.vim4
-rw-r--r--vim/.vim/ftplugin/markdown.vim4
2 files changed, 8 insertions, 0 deletions
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