Vim: How do you open another [No Name] buffer like the one on startup?

2021/11/30 10:08
阅读数 0

问题:

In my Vimscript program, I need to open an additional Vim buffer that is not immediately associated with a file, but which the user can save to a file of her/his choosing, just like the initial buffer called [No Name] . 在我的Vimscript程序中,我需要打开一个额外的Vim缓冲区,它不会立即与文件关联,但是用户可以将其保存到她/他选择的文件中,就像名为[No Name]的初始缓冲区一样。 How can I do this? 我怎样才能做到这一点?


解决方案:

参考: https://stackoom.com/en/question/Imxb
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部