From 44dd0dd8d6a2fd7b3e1aa0fdbfaaef15bbc44f63 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 29 Jan 2017 20:37:30 +0800 Subject: [PATCH 1/2] Add shell layer --- autoload/SpaceVim/layers/shell.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 autoload/SpaceVim/layers/shell.vim diff --git a/autoload/SpaceVim/layers/shell.vim b/autoload/SpaceVim/layers/shell.vim new file mode 100644 index 000000000..2cdc0be69 --- /dev/null +++ b/autoload/SpaceVim/layers/shell.vim @@ -0,0 +1,9 @@ +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 From b0cc4bd876721bee35107001f3194be9649d805d Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 2 Feb 2017 22:52:10 +0800 Subject: [PATCH 2/2] Add shell layer --- autoload/SpaceVim/layers/shell.vim | 6 ++++++ doc/SpaceVim.txt | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/autoload/SpaceVim/layers/shell.vim b/autoload/SpaceVim/layers/shell.vim index 2cdc0be69..135fb935e 100644 --- a/autoload/SpaceVim/layers/shell.vim +++ b/autoload/SpaceVim/layers/shell.vim @@ -1,3 +1,9 @@ +"" +" @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') 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*