vimrc/ftplugin/markdown.vim

9 lines
174 B
VimL
Raw Normal View History

" set a smaller indent
setlocal ts=2
" and set up the buffer just like a text file
let oldwd = getcwd()
2018-10-12 21:11:41 +00:00
exec "cd ~/.config/nvim/ftplugin"
source text.vim
exec "cd " . oldwd