Often times I use vim as a scratchpad - I just want to throw some text in there, maybe copy it to the clipboard, or munge it a bit, but it's not really important to keep it around.
Most of the time I do vim /tmp/foo.txt
or whatever, but this gets a bit annoying. I combined this answer with some responses on a previous question of mine and came up with this solution:
vim +noswapfile +"set buftype=nofile" +"set bufhidden=hide"
Which actually works! But... it's a bit wordy.
Is there a shorter way to start vim with a scratch buffer (without using a plugin)?
vim
on the terminal I get an instance of vim with a scratch buffer. Isn't that what you're wanting?