From bd64b0e8999859183d493cf2c162acfcd9b4fe6d Mon Sep 17 00:00:00 2001 From: Shidong Wang Date: Sat, 6 Jun 2020 12:36:27 +0800 Subject: [PATCH] Update doc for lang#kotlin layer --- autoload/SpaceVim/layers/lang/kotlin.vim | 25 ++++++++++++++++++++++- doc/SpaceVim.txt | 26 +++++++++++++++++++++++- 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/autoload/SpaceVim/layers/lang/kotlin.vim b/autoload/SpaceVim/layers/lang/kotlin.vim index 6ddc23ce3..ea02b1590 100644 --- a/autoload/SpaceVim/layers/lang/kotlin.vim +++ b/autoload/SpaceVim/layers/lang/kotlin.vim @@ -9,7 +9,30 @@ "" " @section lang#kotlin, layer-lang-kotlin " @parentsection layers -" This layer is for kotlin development. +" This layer is for kotlin development, disabled by default, to enable this +" layer, add following snippet to your SpaceVim configuration file. +" > +" [[layers]] +" name = 'lang#kotlin' +" < +" +" @subsection Key bindings +" > +" Mode Key Function +" --------------------------------------------- +" normal SPC l r run current file +" < +" +" This layer also provides REPL support for kotlin, the key bindings are: +" > +" Key Function +" --------------------------------------------- +" SPC l s i Start a inferior REPL process +" SPC l s b send whole buffer +" SPC l s l send current line +" SPC l s s send selection text +" < +" " Load SpaceVim APIs: diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 0ffd150ec..95de60424 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -2368,7 +2368,31 @@ This layer also provides REPL support for julia, the key bindings are: ============================================================================== LANG#KOTLIN *SpaceVim-layer-lang-kotlin* -This layer is for kotlin development. +This layer is for kotlin development, disabled by default, to enable this +layer, add following snippet to your SpaceVim configuration file. +> + [[layers]] + name = 'lang#kotlin' +< + +KEY BINDINGS + +> + Mode Key Function + --------------------------------------------- + normal SPC l r run current file +< + +This layer also provides REPL support for kotlin, the key bindings are: +> + Key Function + --------------------------------------------- + SPC l s i Start a inferior REPL process + SPC l s b send whole buffer + SPC l s l send current line + SPC l s s send selection text +< + ============================================================================== LANG#LIVESCRIPT *SpaceVim-layer-lang-livescript*