1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00

add doc for additional lua-specific mappings

This commit is contained in:
Arith Xu 2017-12-29 12:25:56 +08:00
parent 8ba5567c9a
commit c9a8f27cc8

View File

@ -7,13 +7,13 @@ description: "This layer is for lua development, provide autocompletion, syntax
<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc GFM -->
- [Description](#description) * [Description](#description)
- [Installation](#installation) * [Installation](#installation)
- [Layer](#layer) * [Layer](#layer)
- [Syntax checking && Code formatting](#syntax-checking--code-formatting) * [Syntax checking && Code formatting](#syntax-checking--code-formatting)
- [Key bindings](#key-bindings) * [Key bindings](#key-bindings)
- [Inferior REPL process](#inferior-repl-process) * [Inferior REPL process](#inferior-repl-process)
- [Running current script](#running-current-script) * [Running current script](#running-current-script)
<!-- vim-markdown-toc --> <!-- vim-markdown-toc -->
@ -47,6 +47,9 @@ Send code to inferior process commands:
| Key Binding | Description | | Key Binding | Description |
| ----------- | ------------------------------------------------ | | ----------- | ------------------------------------------------ |
| `SPC l b` | compile current lua buffer |
| `SPC l r` | run current lua file |
| `SPC l f` | format current lua file |
| `SPC l s b` | send buffer and keep code buffer focused | | `SPC l s b` | send buffer and keep code buffer focused |
| `SPC l s l` | send line and keep code buffer focused | | `SPC l s l` | send line and keep code buffer focused |
| `SPC l s s` | send selection text and keep code buffer focused | | `SPC l s s` | send selection text and keep code buffer focused |