Skip to main content
added 3 characters in body; edited tags; edited title
Source Link
statox
  • 50.6k
  • 19
  • 153
  • 231

Make Vim sessions save the content of [No Name] unnamed buffers

When saving a session with :mksession and :sourceing it back, the content of [No Name] unnamed buffers is lost.

I like to sometimes write temporary throwaway code or notes on a unnamed or scratch buffer, for the length of my session.

Just like Sublime Text saves the content of "untitled new tabs" when quitting and reopening it, is there a way/workaround/hack/plugin to save the state of unnamed buffers in Vim?

Make Vim sessions save the content of [No Name] unnamed buffers

When saving a session with :mksession and :sourceing it back, the content [No Name] unnamed buffers is lost.

I like to sometimes write temporary throwaway code or notes on a unnamed or scratch buffer, for the length of my session.

Just like Sublime Text saves the content of "untitled new tabs" when quitting and reopening it, is there a way/workaround/hack/plugin to save the state of unnamed buffers in Vim?

Make Vim sessions save the content of unnamed buffers

When saving a session with :mksession and :sourceing it back, the content of [No Name] unnamed buffers is lost.

I like to sometimes write temporary throwaway code or notes on a unnamed or scratch buffer, for the length of my session.

Just like Sublime Text saves the content of "untitled new tabs" when quitting and reopening it, is there a way/workaround/hack/plugin to save the state of unnamed buffers in Vim?

Source Link

Make Vim sessions save the content of [No Name] unnamed buffers

When saving a session with :mksession and :sourceing it back, the content [No Name] unnamed buffers is lost.

I like to sometimes write temporary throwaway code or notes on a unnamed or scratch buffer, for the length of my session.

Just like Sublime Text saves the content of "untitled new tabs" when quitting and reopening it, is there a way/workaround/hack/plugin to save the state of unnamed buffers in Vim?