Skip to content

rawleyfowler/e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emacs-heart-perl

Emacs, the best Emacs Lisp interpreter also turns out to be a great Perl editor. This collection of configurations is the simplest and most ergonomic Perl editing experience I've ever had.

Pre-requisites

You will need the following Perl tools installed via CPAN:

You'll also want a Perl installed later than 5.6 (you should have that already).

Optionally, you can also install cozette HiDPI to your system if you want to use it as your font.

Installing

chmod +x install
./install

Then, open Emacs. If you run into any errors with installing packages, run M-x package-refresh-contents and restart Emacs.

Packages

In an attempt to make this configuration as distributable, re-usable, and extendable as possible, I've cut down the package count to just the following:

  • Flycheck
  • Ctrlf
  • Smex
  • Magit
  • A few common modes
  • My favorite theme

Configurations

  • Flycheck uses a fairly strict Perlcritic severity level (3)
  • Cperl mode is used by default
  • Cperl mode has had its hideous SCALAR, ARRAY, and HASH coloring removed
  • Perltidy runs on save
  • Smex and Ido enabled by default
  • Ctrlf enabled by default

Why GNU Emacs?

I don't like Doom Emacs, and modal (Vim) editing doesn't really appeal to me anymore. I really like Nano, but I can't extend Nano with useful things as easily, so instead, I use GNU Emacs.