What are your suggestions for an ideal Vim configuration for Perl development?

后端 未结 12 1176
说谎
说谎 2021-01-29 17:56

There are a lot of threads pertaining to how to configure Vim/GVim for Perl development on PerlMonks.org. My purpose in posting this question is to try to create, as much as pos

12条回答
  •  半阙折子戏
    2021-01-29 18:40

    Here are a couple of my .vimrc settings. They may not be Perl specific, but I couldn't work without them:

    set nocompatible        " Use Vim defaults (much better!) "
    set bs=2                " Allow backspacing over everything in insert mode "
    set ai                  " Always set auto-indenting on "
    set showmatch           " show matching brackets "
    
    " for quick scripts, just open a new buffer and type '_perls' "
    iab _perls #!/usr/bin/perluse strict;use warnings;
    

提交回复
热议问题