Vim NERDTree 调整 vsplit 大小
我正在使用 Vim 的 NERDTree 插件。使用 s: open vsplit
命令时,是否可以调整窗口大小,以使文件比目录树占据更大的屏幕部分?
[编辑 1]
我已附上使用 NERDTree 的分割视图的屏幕截图:
我已经将 NERDTree 安装到 ~/.vim
[EDIT 2]
我没有出现有 ~/.vimrc。 的屏幕截图
我已经包含了 /etc/vim/.vimrc
I am using the NERDTree plugin for Vim. When using the s: open vsplit
command, is it possible to resize the windows so that the file is taking up a larger portion of the screen than the directory tree?
[EDIT 1]
I have attached a screeshot of my split view using NERDTree:
I have installed NERDTree to ~/.vim
[EDIT 2]
I do not appear to have ~/.vimrc. I have included a screenshot of /etc/vim/.vimrc
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该提供更多上下文,例如粘贴 .vimrc 并添加屏幕截图,因为(我的理解是)您想要的行为是 AFAIK NERDTree 的默认行为。
我能想象的唯一一种情况是,当你已经有一堆垂直分割并且 Vim 正在调整它们的宽度以适应新分割时,新的垂直分割会比 NERDTree 小。
You should give more context, like paste your .vimrc and add a screenshot because (what I understand is) the behaviour you want is AFAIK NERDTree's default behaviour.
The only situation I can imagine where a new vertical split would be smaller than NERDTree is when you already have a bunch of vertical splits and Vim is adjusting their width to accomodate the new one.