我想加宽 Rails.vim 中的左查看器
我使用rails.vim,这很棒。让我烦恼的一件事是,每次打开文件时,左侧窗口(目录查看器)都会设置为其默认宽度(24 列)。太窄了,看不到文件路径。即使我加宽它,当我打开文件时它也会恢复到默认大小。
如何更改默认尺寸?或者为了更好,我怎样才能防止它自动调整大小?
I use rails.vim which is great. One thing that annoys me is that every time I open a file, the left window (directory viewer) is set to its default width(24 cols). It's too narrow to see the file path. Even if I widen it, it comes back to its default size when I open a file.
How can I change the default size? Or for better, how can I prevent it from auto-resizing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为rails.vim 插件有目录查看器——我最好的猜测是您实际上看到的是 NERDTree 的目录查看器。
尝试将其添加到您的
~/.vimrc
文件中以设置自定义宽度:I don't think the rails.vim plugin has a directory viewer -- my best guess would be that you're actually seeing NERDTree's directory viewer.
Try adding this to your
~/.vimrc
file to set a custom width: