This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/perl5
2018-05-15 00:54:20 +03:00
..
img added perl5 layer 2017-06-08 09:02:18 +02:00
config.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
funcs.el Happy New Year 2018! 2018-01-04 02:00:25 -05:00
packages.el perl5: Fix for leader key prefix name on CPerl mode 2018-05-15 00:54:20 +03:00
README.org create debug layer 2018-05-12 23:46:18 -04:00

Perl5 layer

/TakeV/spacemacs/media/commit/26095388559611a83b0c5add458197e8d6f03d9d/layers/+lang/perl5/img/perl5.png

Description

This layer adds support for the Perl5 language.

Features:

Install

Layer

To use this configuration layer, add it to your ~/.spacemacs. You will need to add perl5 to the existing dotspacemacs-configuration-layers list in this file.

Auto-completion: PlSense

company-plsense requires installation of the plsense server from here.

Key Bindings

Perldoc

Browse formated perldocs.

Key Binding Description
SPC m h h view perldoc of symbol at point
SPC m h d view perldoc of any symbol

POD and HERE doc

Select a POD or HERE doc.

Key Binding Description
SPC m v select entire POD or HERE doc at point

Find Symbol

Jump to symbol definition.

Key Binding Description
SPC m g g jump to symbol definition
SPC m g G jump to symbol definition in other window

Formating Code

Key Binding Description
SPC m = = format current line or region
SPC m = b format current buffer
SPC m = f format current function