mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
docs(usage): add :h SpaceVim-usage-undotree
This commit is contained in:
parent
690f454a3a
commit
6b01367662
@ -1647,6 +1647,40 @@ endfunction
|
||||
" General guide for using SpaceVim. Including layer configuration, bootstrap
|
||||
" function.
|
||||
|
||||
""
|
||||
" @section undo-tree, usage-undotree
|
||||
" @parentsection usage
|
||||
" Undo tree visualizes the undo history and makes it easier to browse and
|
||||
" switch between different undo branches.The default key binding is `F7`.
|
||||
" If `+python` or `+python3` is enabled, `vim-mundo` will be used,
|
||||
" otherwise `undotree` will be used.
|
||||
"
|
||||
" Key bindings within undo tree windows:
|
||||
" >
|
||||
" key bindings description
|
||||
" `G` move bottom
|
||||
" `J` move older write
|
||||
" `K` move newer write
|
||||
" `N` previous match
|
||||
" `P` play to
|
||||
" `<2-LeftMouse>` mouse click
|
||||
" `/` search
|
||||
" `<CR>` preview
|
||||
" `d` diff
|
||||
" `<down>` move older
|
||||
" `<up>` move newer
|
||||
" `i` toggle inline
|
||||
" `j` move older
|
||||
" `k` move newer
|
||||
" `n` next match
|
||||
" `o` preview
|
||||
" `p` diff current buffer
|
||||
" `q` quit
|
||||
" `r` diff
|
||||
" `gg` move top
|
||||
" `?` toggle help
|
||||
" <
|
||||
|
||||
""
|
||||
" @section windows-and-tabs, usage-windows-and-tabs
|
||||
" @parentsection usage
|
||||
|
@ -215,7 +215,8 @@ CONTENTS *SpaceVim-contents*
|
||||
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|
|
||||
7. undo-tree...................................|SpaceVim-usage-undotree|
|
||||
8. windows-and-tabs....................|SpaceVim-usage-windows-and-tabs|
|
||||
8. API........................................................|SpaceVim-api|
|
||||
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
||||
2. data#dict....................................|SpaceVim-api-data-dict|
|
||||
@ -5129,6 +5130,40 @@ TASKS *SpaceVim-usage-tasks*
|
||||
|
||||
general guide for tasks manager in SpaceVim.
|
||||
|
||||
==============================================================================
|
||||
UNDO-TREE *SpaceVim-usage-undotree*
|
||||
|
||||
Undo tree visualizes the undo history and makes it easier to browse and switch
|
||||
between different undo branches.The default key binding is `F7`. If `+python`
|
||||
or `+python3` is enabled, `vim-mundo` will be used, otherwise `undotree` will
|
||||
be used.
|
||||
|
||||
Key bindings within undo tree windows:
|
||||
>
|
||||
key bindings description
|
||||
`G` move bottom
|
||||
`J` move older write
|
||||
`K` move newer write
|
||||
`N` previous match
|
||||
`P` play to
|
||||
`<2-LeftMouse>` mouse click
|
||||
`/` search
|
||||
`<CR>` preview
|
||||
`d` diff
|
||||
`<down>` move older
|
||||
`<up>` move newer
|
||||
`i` toggle inline
|
||||
`j` move older
|
||||
`k` move newer
|
||||
`n` next match
|
||||
`o` preview
|
||||
`p` diff current buffer
|
||||
`q` quit
|
||||
`r` diff
|
||||
`gg` move top
|
||||
`?` toggle help
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
WINDOWS-AND-TABS *SpaceVim-usage-windows-and-tabs*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user