Fork me on GitHub


A community-driven vim distribution

Home | About | Documentation | Development | Community | Sponsors

SpaceVim Layers: shell


This layer provide shell support in SpaceVim.


To use this configuration layer, add SPLayer 'shell' to your custom configuration file.


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:

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.

call SpaceVim#layers#load('shell',
        \ {
        \ 'default_position' : 'top',
        \ 'default_height' : 30,
        \ }
        \ )

Key bindings

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

Hosted on GitHub, Help improve this page — Theme by mattgraham,