darkrc/vim/plugin/scratch.vim
2020-08-17 14:54:08 +02:00

3 lines
82 B
VimL

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