本文介绍了如何打开和拆分多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在拆分窗口中打开多个文件.如果我不清楚,每个文件一个分割.

How can I open in a split window multiple files. One split for each file if I'm not being clear.

我想做类似的事情.:sp app/views/*.erb 并在各自的拆分窗口中打开 ~7 个文件.

I want to do something like. :sp app/views/*.erb and have the ~7 files all open in their own split windows.

推荐答案

刚从 tonymec@#vim 学到你可以做到

Just learned from tonymec@#vim that you can do

:args app/views/*.erb | all

用于水平分割或

:args app/views/*.erb | vertical all

垂直.

这篇关于如何打开和拆分多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-19 01:00