Closed mcandre closed 10 years ago
b62ac6e0835f0dc89c4258724b410337512fd1d2 added a g:scratch_filetype
option you can use! E.g. in your ~/.vimrc
:
let g:scratch_filetype = 'markdown'
Let me know if this doesn't fit your use case.
Maybe we can improve this further by prompting for filetype when creating a new scratch buffer (not on reuse)? Perhaps something like :ScratchType
.
scratch.vim is really cool! I'd love to use it to pop up a quick "markdown" window, since I spend a lot of time reporting bugs.
How could I configure my
~/.vimrc
so that:Scratch
opens in markdown format by default?