Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zakame/cpanfile-mode

Edit CPANfiles in Emacs
https://github.com/zakame/cpanfile-mode

cpanfile emacs perl

Last synced: 20 days ago
JSON representation

Edit CPANfiles in Emacs

Awesome Lists containing this project

README

        

#+TITLE: cpanfile-mode --- Edit CPANfiles in Emacs

[[https://melpa.org/#/cpanfile-mode][file:https://melpa.org/packages/cpanfile-mode-badge.svg]]
[[https://travis-ci.org/zakame/cpanfile-mode][file:https://travis-ci.org/zakame/cpanfile-mode.svg?branch=master]]

* About

This is a simple mode for editing [[https://metacpan.org/pod/cpanfile][cpanfile]] for Perl 5 modules. It
provides syntax highlighting for module requirements as described in
[[https://metacpan.org/pod/CPAN::Meta::Spec][CPAN::Meta::Spec]], and [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html][imenu]] integration.

This mode derives from =perl-mode= (or =cperl-mode=, if you aliased it.)

* Usage

If you're on [[https://github.com/jwiegley/use-package][use-package]], add this in your =init.el=:

#+BEGIN_SRC emacs-lisp
(use-package cpanfile-mode
:ensure t)
#+END_SRC

Then visit your project's =cpanfile=.

To quickly find a required package, call =M-x imenu= or similar.