简体   繁体   English

Vim,不断显示参数列表

[英]Vim, constantly displaying args list

I found that arguments list is more useful than buffers list. 我发现参数列表比缓冲区列表更有用。 With vim-airline plugin you can see all current buffers in the topbar. 使用vim-airline插件,您可以在顶部栏中看到所有当前缓冲区。 I wonder if there is a similar plugin or function to always display argument list? 我想知道是否有类似的插件或函数始终显示参数列表? It would be useful if it could work together with vim-airline. 如果可以与vim-airline一起使用,将很有用。

No, this is a bad idea. 不,这是一个坏主意。 The argument list is frequently used for mass-editing many (hundreds) of files, and those wouldn't fit anywhere in the UI. 参数列表通常用于批量编辑许多(数百个)文件,而这些文件在UI中无法容纳。 That's why I'm also no fan of permanently displaying the buffer list. 这就是为什么我也不喜欢永久显示缓冲区列表的原因。 [1] [1]

With tabs, windows, and buffers (and dozens of related commands), Vim has very powerful means to deal with multiple files. Vim具有选项卡,窗口和缓冲区(以及数十个相关命令),具有处理多个文件的强大功能。 Each person's workflow is unique; 每个人的工作流程都是唯一的; you need to find your very own, personal one by learning the available commands (the :help is very comprehensive), and trying out different approaches. 您需要通过学习可用的命令( :help非常全面)并尝试不同的方法来找到自己的个性化个人。


[1] From a functional standpoint, buffer and argument lists actually are very similar. [1]从功能的角度来看,缓冲区和参数列表实际上非常相似。 Both can be added to, removed from, and used for mass operations. 两者都可以添加,删除或用于批量操作。 It's only that the adding to the buffer list is done automatically. 只是添加到缓冲区列表是自动完成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM