Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zakame/cpanfile-mode
- Owner: zakame
- Created: 2016-09-26T08:28:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-22T09:49:50.000Z (almost 8 years ago)
- Last Synced: 2024-11-05T21:33:02.143Z (2 months ago)
- Topics: cpanfile, emacs, perl
- Language: Emacs Lisp
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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_SRCThen visit your project's =cpanfile=.
To quickly find a required package, call =M-x imenu= or similar.