How to effectively work with multiple files in Vim

前端 未结 28 2669
甜味超标
甜味超标 2020-11-28 00:18

I\'ve started using Vim to develop Perl scripts and am starting to find it very powerful.

One thing I like is to be able to open multiple files at once with:

<
28条回答
  •  感情败类
    2020-11-28 00:30

    To add to the args list:

    :argadd
    

    To delete from the args list:

    :argdelete
    

    In your example, you could use :argedit test.pl to add test.pl to the args list and edit the file in one step.

    :help args gives much more detail and advanced usage

提交回复
热议问题