https://github.com/rawleyfowler/e
An Emacs configuration for Perl development
https://github.com/rawleyfowler/e
emacs emacs-configuration perl5
Last synced: 4 months ago
JSON representation
An Emacs configuration for Perl development
- Host: GitHub
- URL: https://github.com/rawleyfowler/e
- Owner: rawleyfowler
- License: unlicense
- Created: 2023-02-21T15:50:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T00:33:10.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T17:33:13.589Z (over 1 year ago)
- Topics: emacs, emacs-configuration, perl5
- Language: Emacs Lisp
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

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:
* [Perl::Tidy](https://metacpan.org/pod/Perl::Tidy)
* [Perl::Critic](https://metacpan.org/pod/Perl::Critic)
You'll also want a Perl installed later than 5.6 (you should have that already).
Optionally, you can also install [cozette](https://github.com/slavfox/Cozette) HiDPI to your system if you want to use it as your font.
## Installing
```bash
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.