mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
parent
6bfa04a62a
commit
cdf519867c
@ -11,7 +11,7 @@ function! SpaceVim#layers#lang#perl#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, ['c9s/perlomni.vim', {'on_ft' : 'perl'}])
|
||||
call add(plugins, ['vim-perl/vim-perl', {'on_ft' : 'perl'}])
|
||||
call add(plugins, ['hotchpotch/perldoc-vim', {'on_cmd' : 'Perldoc'}])
|
||||
call add(plugins, ['wsdjeg/perldoc-vim', {'on_cmd' : 'Perldoc'}])
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
|
@ -10,8 +10,8 @@ description: "This layer is for perl development, provide autocompletion, syntax
|
||||
- [Description](#description)
|
||||
- [Features](#features)
|
||||
- [Install](#install)
|
||||
- [Layer](#layer)
|
||||
- [Key bindings](#key-bindings)
|
||||
- [Find documentation](#find-documentation)
|
||||
- [Inferior REPL process](#inferior-repl-process)
|
||||
- [Running current script](#running-current-script)
|
||||
|
||||
@ -31,8 +31,6 @@ SpaceVim also provides REPL/Debug support for perl.
|
||||
|
||||
## Install
|
||||
|
||||
### Layer
|
||||
|
||||
To use this configuration layer, update custom configuration file with:
|
||||
|
||||
```toml
|
||||
@ -42,6 +40,14 @@ To use this configuration layer, update custom configuration file with:
|
||||
|
||||
## Key bindings
|
||||
|
||||
### Find documentation
|
||||
|
||||
| Key binding | Description |
|
||||
| ----------- | ---------------------------- |
|
||||
| `K` | open Perldoc on the keywords |
|
||||
|
||||
within perldoc windows, you can use `s` to toggle source code and the documentation.
|
||||
|
||||
### Inferior REPL process
|
||||
|
||||
Start a `perl` inferior REPL process with `SPC l s i`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user