How to effectively work with multiple files in Vim

前端 未结 28 2687
甜味超标
甜味超标 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:33

    Some answers in this thread suggest using tabs and others suggest using buffer to accomplish the same thing. Tabs and Buffers are different. I strongly suggest you read this article "Vim Tab madness - Buffers vs Tabs".

    Here's a nice summary I pulled from the article:

    Summary:

    • A buffer is the in-memory text of a file.
    • A window is a viewport on a buffer.
    • A tab page is a collection of windows.

提交回复
热议问题