删除缓冲区,然后返回NETRW
当我使用VIM的文件浏览器 netrw 打开文件时,删除文件缓冲区后,我想返回NetRW。这是我在做的事情:
vim .
打开一个使用 Enter 的文件。然后删除缓冲区:
:bd
但这使我进入了一个新的未命名缓冲区。我可能错了,但我认为回到NetRW曾经是标准行为。有变化吗?是否可以控制这个变量?
用vim。
和:ls!
显示了差异:
# Output (good)
1 h "~/" line 1
2u%a- "[No Name]" line 8
# Output (bad)
2u%a- "~/" line 8
When I open a file using vim's file browser netrw, I want get back to netrw after deleting the file buffer. Here's what I'm doing:
vim .
Open a file with ENTER. Then delete the buffer:
:bd
But this puts me in a new unnamed buffer. I might be wrong, but I thought getting back to netrw used to be the standard behavior. Was there a change? Is there a variable to control this?
The difference shows up with vim .
and :ls!
:
# Output (good)
1 h "~/" line 1
2u%a- "[No Name]" line 8
# Output (bad)
2u%a- "~/" line 8
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论