vimrc/ftplugin/markdown.vim

10 lines
188 B
VimL
Raw Normal View History

" set a smaller indent
setlocal ts=2
2022-01-12 16:35:15 +00:00
setlocal sw=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