falstro / ghost-text-vim

Ghost Text for VIm
MIT License
52 stars 9 forks source link

Open vim with scratch buffer #9

Closed tdkgeek closed 6 years ago

tdkgeek commented 6 years ago

Create buffer as scratch to avoid vim asking to save it after use

antoinemadec commented 6 years ago

I think creating a temp file after payload has been loaded in vim is a better idea. Indeed it allows the filetype detection to work. What do you think ?

I already wrote the patch and will add it in the pull request soon.