SpaceVim
A modular Vim/Neovim configuration
Home | About | Quick start guide | Documentation | Development | Community | Sponsors | 中文
This layer is for shell script development. Shell script includes bash, zsh and fish scripts.
SpaceVim also provides language server protocol support for bash script. To enable language server protocol
for bash script, you need to load lsp
layer for bash.
To use this configuration layer, update your custom configuration file with:
[[layers]]
name = "lang#sh"
bash_file_head
: Default file head when create new sh file.
By default, when create a new sh file, SpaceVim will insert file head automatically.
to change the file head, use bash_file_head
option:
[[layers]]
name = "lang#sh"
bash_file_head = [
'#!/usr/bin/env bash',
'',
''
]
Key Bindings | Descriptions |
---|---|
SPC l d / K |
Show doc of the symbol under the cursor |
g d |
Jump to definition |
Powered by Jekyll