1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

docs(usage): add :h SpaceVim-usage-command-line-mode

This commit is contained in:
Shidong Wang 2021-12-16 00:05:09 +08:00
parent d6e740476d
commit bcd4e755ab
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 43 additions and 5 deletions

View File

@ -1737,6 +1737,25 @@ endfunction
" SPC b D kill a visible buffer using vim-choosewin
" <
""
" @section command-line-mode, usage-command-line-mode
" @parentsection usage
" After pressing `:`, you can switch to command line mode, here is a list
" of key bindings can be used in command line mode:
" >
" Key bindings Descriptions
" Ctrl-a move cursor to beginning
" Ctrl-b Move cursor backward in command line
" Ctrl-f Move cursor forward in command line
" Ctrl-w delete a whole word
" Ctrl-u remove all text before cursor
" Ctrl-k remove all text after cursor
" Ctrl-c/Esc cancel command line mode
" Tab next item in popup menu
" Shift-Tab previous item in popup menu
" <
""
" @section Development, dev
"

View File

@ -208,11 +208,12 @@ CONTENTS *SpaceVim-contents*
121. unite.......................................|SpaceVim-layers-unite|
7. Usage....................................................|SpaceVim-usage|
1. buffers-and-files..................|SpaceVim-usage-buffers-and-files|
2. custom_plugins........................|SpaceVim-usage-custom_plugins|
3. repl............................................|SpaceVim-usage-repl|
4. search-and-replace................|SpaceVim-usage-search-and-replace|
5. tasks..........................................|SpaceVim-usage-tasks|
6. windows-and-tabs....................|SpaceVim-usage-windows-and-tabs|
2. command-line-mode..................|SpaceVim-usage-command-line-mode|
3. custom_plugins........................|SpaceVim-usage-custom_plugins|
4. repl............................................|SpaceVim-usage-repl|
5. search-and-replace................|SpaceVim-usage-search-and-replace|
6. tasks..........................................|SpaceVim-usage-tasks|
7. windows-and-tabs....................|SpaceVim-usage-windows-and-tabs|
8. API........................................................|SpaceVim-api|
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
2. data#dict....................................|SpaceVim-api-data-dict|
@ -4958,6 +4959,24 @@ All buffers key bindings are start with `b` prefix:
SPC b D kill a visible buffer using vim-choosewin
<
==============================================================================
COMMAND-LINE-MODE *SpaceVim-usage-command-line-mode*
After pressing `:`, you can switch to command line mode, here is a list of key
bindings can be used in command line mode:
>
Key bindings Descriptions
Ctrl-a move cursor to beginning
Ctrl-b Move cursor backward in command line
Ctrl-f Move cursor forward in command line
Ctrl-w delete a whole word
Ctrl-u remove all text before cursor
Ctrl-k remove all text after cursor
Ctrl-c/Esc cancel command line mode
Tab next item in popup menu
Shift-Tab previous item in popup menu
<
==============================================================================
CUSTOM_PLUGINS *SpaceVim-usage-custom_plugins*