From eac96d094b095dd7bbc498f385af306f50bea385 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 9 Jul 2017 15:29:13 +0800 Subject: [PATCH] Update doc for prompt mappings --- autoload/SpaceVim/api/prompt.vim | 8 ++++++++ doc/SpaceVim.txt | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/autoload/SpaceVim/api/prompt.vim b/autoload/SpaceVim/api/prompt.vim index 78ec3d834..857569e06 100644 --- a/autoload/SpaceVim/api/prompt.vim +++ b/autoload/SpaceVim/api/prompt.vim @@ -5,6 +5,14 @@ " " Create a cmdline prompt, use while loop to get the input from user. The " default mapping for prompt is: +" > +" remove last character +" remove the Word before the cursor +" remove the Line before the cursor +" remove the Line after the cursor +" / Go to the beginning of the line +" / Go to the end of the line +" < let s:self = {} diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 6681c1ad4..3e16be40a 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -990,6 +990,14 @@ open() Create a cmdline prompt, use while loop to get the input from user. The default mapping for prompt is: +> + remove last character + remove the Word before the cursor + remove the Line before the cursor + remove the Line after the cursor + / Go to the beginning of the line + / Go to the end of the line +< ============================================================================== SID *SpaceVim-api-vim-sid*