spacemacs/layers/+lang/perl5
2018-10-11 00:13:43 +03:00
..
img
config.el
funcs.el
packages.el
README.org Reformat documentation 2018-10-11 00:13:43 +03:00

Perl5 layer

/TakeV/spacemacs/media/commit/9da5da1d2e9a3c92b035046d34d3bc2ae3d3eb9a/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 formatted 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

Formatting Code

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