darkrc/vim/plugin/scratch.vim

4 lines
90 B
VimL
Raw Normal View History

command! -nargs=? Scratch enew
\ | set filetype=<args>
\ | set buftype=nofile