Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 644 Bytes

starter-kit-perl.org

File metadata and controls

20 lines (15 loc) · 644 Bytes

Starter Kit Perl

This is part of the Emacs Starter Kit.

Starter Kit Perl

Helpers for the Perl programming language.

(eval-after-load 'cperl-mode
  '(progn
     (define-key cperl-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
     (define-key cperl-mode-map (kbd "C-M-h") 'backward-kill-word)))

(global-set-key (kbd "C-h P") 'perldoc)

(add-to-list 'auto-mode-alist '("\\.p[lm]$" . cperl-mode))
(add-to-list 'auto-mode-alist '("\\.pod$" . pod-mode))
(add-to-list 'auto-mode-alist '("\\.tt$" . tt-mode))