Table of Contents

Perl5 layer

Table of ContentsClose


1 Description

This layer adds support for the Perl5 language.

1.1 Features:

2 Install

2.1 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.

2.2 Auto-completion: PlSense

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

3 Key bindings

3.1 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

3.2 POD and HERE doc

Select a POD or HERE doc.

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

3.3 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

3.4 Formatting Code

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

Author: root

Created: 2019-11-10 Sun 14:17