diff --git a/autoload/SpaceVim/layers/shell.vim b/autoload/SpaceVim/layers/shell.vim new file mode 100644 index 000000000..135fb935e --- /dev/null +++ b/autoload/SpaceVim/layers/shell.vim @@ -0,0 +1,15 @@ +"" +" @section shell, layer-shell +" @parentsection layers +" SpaceVim use deol.nvim for shell support in neovim, and use vimshell for +" vim. for info, read |deol| and |vimshell|. + +function! SpaceVim#layers#shell#plugins() abort + let plugins = [] + if has('nvim') + call add(plugins,['Shougo/deol.nvim']) + else + call add(plugins,['Shougo/vimshell.vim', { 'on_cmd':['VimShell']}]) + endif + return plugins +endfunction diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index f78bf9656..29a722a8d 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -16,6 +16,7 @@ CONTENTS *SpaceVim-contents* 7. lang#python..............................|SpaceVim-layer-lang-python| 8. lang#rust..................................|SpaceVim-layer-lang-rust| 9. lang#xml....................................|SpaceVim-layer-lang-xml| + 10. shell.........................................|SpaceVim-layer-shell| 5. FAQ........................................................|SpaceVim-faq| ============================================================================== @@ -542,6 +543,12 @@ when edite an xml file, the omni func is `xmlcomplete#CompleteTags`, you can read the document in `autoload/xmlcomplete.vim` in vim or neovim runtime directory. +============================================================================== +SHELL *SpaceVim-layer-shell* + +SpaceVim use deol.nvim for shell support in neovim, and use vimshell for vim. +for info, read |deol| and |vimshell|. + ============================================================================== FAQ *SpaceVim-faq*