Big Sky :: ファイルタイプ別にテンプレートを選べるsonictemplate-vim書いた Emacsだと、yasnippetを使えば同様のことができます。Vimでも yasnippetが あるらしいので、それでできないのかなとも思ったんだけど、使い勝手が 違うのかな? .pmならこれ、.plならこれと一択の場合は auto-insertを使う手もあるので、 その場合はこちらに詳しく記されています。 スクリプト用のスニペット #name : Perl script template # -- #!perl use strict; use warnings; $0 モジュール用のスニペット #name : Perl Package Template # -- package ${1:`(yas/perl-package-name)`}; use strict; use warnin
![Emacsで Perlのひな形を挿入する - Shohei Yoshida's Diary](https://cdn-ak-scissors.b.st-hatena.com/image/square/566bebe7f14919b0a96f67c89cd7435a9366b424/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fs%2Fsyohex%2F20111026%2F20111026143459.png)