mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
parent
6bfa04a62a
commit
cdf519867c
@ -11,7 +11,7 @@ function! SpaceVim#layers#lang#perl#plugins() abort
|
|||||||
let plugins = []
|
let plugins = []
|
||||||
call add(plugins, ['c9s/perlomni.vim', {'on_ft' : 'perl'}])
|
call add(plugins, ['c9s/perlomni.vim', {'on_ft' : 'perl'}])
|
||||||
call add(plugins, ['vim-perl/vim-perl', {'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
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ description: "This layer is for perl development, provide autocompletion, syntax
|
|||||||
- [Description](#description)
|
- [Description](#description)
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Install](#install)
|
- [Install](#install)
|
||||||
- [Layer](#layer)
|
|
||||||
- [Key bindings](#key-bindings)
|
- [Key bindings](#key-bindings)
|
||||||
|
- [Find documentation](#find-documentation)
|
||||||
- [Inferior REPL process](#inferior-repl-process)
|
- [Inferior REPL process](#inferior-repl-process)
|
||||||
- [Running current script](#running-current-script)
|
- [Running current script](#running-current-script)
|
||||||
|
|
||||||
@ -31,8 +31,6 @@ SpaceVim also provides REPL/Debug support for perl.
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
### Layer
|
|
||||||
|
|
||||||
To use this configuration layer, update custom configuration file with:
|
To use this configuration layer, update custom configuration file with:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
@ -42,6 +40,14 @@ To use this configuration layer, update custom configuration file with:
|
|||||||
|
|
||||||
## Key bindings
|
## 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
|
### Inferior REPL process
|
||||||
|
|
||||||
Start a `perl` inferior REPL process with `SPC l s i`.
|
Start a `perl` inferior REPL process with `SPC l s i`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user