How to effectively work with multiple files in Vim

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

    You can be an absolute madman and alias vim to vim -p by adding in your .bashrc:

    alias vim="vim -p"

    This will result in opening multiple files from the shell in tabs, without having to invoke :tab ball from within vim afterwards.

提交回复
热议问题