1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-15 19:45:46 +08:00

Add new mappings

This commit is contained in:
wsdjeg 2017-10-25 09:53:05 +08:00
parent 0a6fb1b9a1
commit 4f159f5bec

View File

@ -8,17 +8,34 @@ checkers layer is loaded by default.
## options ## options
Name | default value | description | Name | default value | description |
---- | ------------- | ----------- | ---------------------------- | ------------- | -------------------------------------------------------- |
g:spacevim_enable_neomake | 1 | Use neomake as default checking tools, to use syntastic, set this option to 0. | `g:spacevim_enable_neomake` | 1 | Use neomake as default checking tools |
g:spacevim_lint_on_the_fly | 0 | Syntax checking on the fly feature, disabled by default. | `g:spacevim_enable_ale` | 1 | Use ale as default checking tools |
| `g:spacevim_lint_on_the_fly` | 0 | Syntax checking on the fly feature, disabled by default. |
**NOTE:** if you want to use ale, you need:
```viml
let g:spacevim_enable_neomake = 0
let g:spacevim_enable_ale = 1
```
and if you want to use syntastic, set this two options to 0.
## Mappings ## Mappings
Key | mode | description | Key | mode | description |
--- | ---- | ----------- | --------- | ------ | ------------------------------------------------------------ |
`SPC e n` | Normal | jump to the position of next error | `SPC e c` | Normal | clear errors |
`SPC e N` | Normal | jump to the position of previous error | `SPC e h` | Normal | describe current checker |
`SPC e p` | Normal | jump to the position of previous error | `SPC e n` | Normal | jump to the position of next error |
`SPC e l` | Normal | toggle showing the error list | `SPC e N` | Normal | jump to the position of previous error |
| `SPC e p` | Normal | jump to the position of previous error |
| `SPC e l` | Normal | display a list of all the errors |
| `SPC e L` | Normal | display a list of all the errors and focus the errors buffer |
| `SPC e e` | Normal | explain the error at point |
| `SPC e s` | Normal | set syntax checker |
| `SPC e S` | Normal | set syntax checker executable |
| `SPC e v` | Normal | verify syntax setup |
| `SPC t s` | Normal | toggle syntax |