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/README.org
2019-05-15 21:08:21 +03:00

2.3 KiB

Perl5 layer

/TakeV/spacemacs/media/commit/b5af9b0b5d5501b5c23def095d8f3523338e43c8/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