vimrc/ftplugin/markdown.vim

8 lines
166 B
VimL

" set a smaller indent
setlocal ts=2
" and set up the buffer just like a text file
let oldwd = getcwd()
exec "cd ~/.vim/ftplugin"
source text.vim
exec "cd " . oldwd