当前位置: 动力学知识库 > 问答 > 编程问答 >

Vim- deleted buffers from last session reopening in new session

问题描述:

I had a problem with deleting buffers in a ViM session. Here's what I do-

  • After I do a bunch of work, and don't need a buffer, I delete it with :bw

  • Then I save the session with :mksession ~/.vim/session.vim

  • The next day when I reopen ViM and type in :source ~/.vim/session.vim to load my previous days work, all the buffers load, including the buffer that I had closed with :bw

Anyone knows how to fix this? Thanks.

分享给朋友:
您可能感兴趣的文章:
随机阅读: