shime / vim-livedown

Vim plugin for Livedown.
493 stars 19 forks source link

Be able to open buffers without filename #34

Open paulkass opened 5 years ago

paulkass commented 5 years ago

Currently, the buffer contents need to be saved to a file for livedown to work. However, I was wondering if it's possible to implement this for buffers that don't have a set filename, e.g. scratch buffers.

A possible implementation would be to copy buffer contents to a file in /tmp/ and open that for displaying?