spacemacs/layers/+lang/perl5
Jim Pudar 0f40fe9df2 Improve point handling in perltidy functions
This moves the point and content of the window close to where you were
before you ran perltidy. Of course if perltidy adds or removes a
significant amount of characters / lines as part of tidying, the point
will be moved by that amount. However in practice this I've found this
to be close enough.
2019-06-21 19:04:34 +02: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 Improve point handling in perltidy functions 2019-06-21 19:04:34 +02:00
packages.el add org-babel support for some of the more popular languages. (#10738) 2018-05-30 09:07:21 -04:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00

Perl5 layer

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