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

后端 未结 12 1042
说谎
说谎 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:32

    .vimrc:

    " Allow :make to run 'perl -c' on the current buffer, jumping to 
    " errors as appropriate
    " My copy of vimparse: http://irc.peeron.com/~zigdon/misc/vimparse.pl
    
    set makeprg=$HOME/bin/vimparse.pl\ -c\ %\ $*
    
    " point at wherever you keep the output of pltags.pl, allowing use of ^-]
    " to jump to function definitions.
    
    set tags+=/path/to/tags
    

提交回复
热议问题