vilerc

来自「Perl Best Practices the source code」· 代码 · 共 32 行

TXT
32
字号
;############################################################################;#    Vile config (Recommended) from Appendix C of "Perl Best Practices"    #;#     Copyright (c) O'Reilly & Associates, 2005. All Rights Reserved.      #;#  See: http://www.oreilly.com/pub/a/oreilly/ask_tim/2001/codepolicy.html  #;############################################################################;Preserve current indent on new linesset autoindent ;Wrap at the 78th columnset fillcol=78set wrapwords  ; Use 4-space indents, not tabsset tabspace=4set shiftwidth=4set noti ;Allow % to bounce between angles tooset fence-pairs="()[]{}<>" ;Inserting these abbreviations inserts the corresponding Perl statement...abb phbp  #! /usr/bin/perl -w      abb pdbg  use Data::Dumper 'Dumper';
warn Dumper [];hiabb pbmk  use Benchmark qw( cmpthese );
cmpthese -10, {};O     abb pusc  use Smart::Comments;

### abb putm  use Test::More qw( no_plan ); abb papp  :r ~/.code_templates/perl_application.pl
abb pmod  :r ~/.code_templates/perl_module.pm

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?