1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00
SpaceVim/docs/layers/shell.md
Wang Shidong 1472a549c6
Doc: improve SpaceVim doc (#1758)
* Update shell layer doc

* Update script for update layer index

* Update script for update layer index

* Update colorscheme layer doc

* Update autocomplete layer doc

* Update checkers layer doc

* Update chinese layer doc

* Update chat layer doc

* Update faq

* Update VersionControl layer doc

* Update help file

* Update cscope layer doc

* Use cn group

* Update debug layer doc

* Update ctrlp layer doc

* Update default layer doc

* Improve the community page

* Improve the community page

* Update default layer doc

* Update denite layer doc

* Update git layer doc

* Update ui layer doc

* Update tags layer doc

* Update leaderf layer doc

* Update fzf layer doc

* Update unite layer doc

* Update tools layer doc

* Update index

* Update tools#dash layer doc

* Update lsp layer doc

* Update faq
2018-05-27 13:05:57 +08:00

1.5 KiB

title description
SpaceVim shell layer This layer provide shell support in SpaceVim

SpaceVim Layers: shell

Description

This layer provide shell support in SpaceVim.

Install

To use this configuration layer, add following snippet to your custom configuration file.

[[layers]]
  name = "shell"

Configuration

Default shell

Vim support these kinds of shell:

To define the default shell you can set the layer variable default_shell to the following variables:

  • terminal
  • VimShell

The default shell is quickly accessible via a the default shortcut key SPC '.

Default shell position and height

It is possible to choose where the shell should pop up by setting the variable default_position to either top, bottom, left, right, or full. Default value is top. It is also possible to set the default height in percents with the variable default_height. Default value is 30.

[[layers]]
  name = "shell"
  default_position = "top"
  default_height = 30

Key bindings

Key Binding Description
SPC ' Open, close or go to the default shell