1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

docs(autosave): add :h SpaceVim-plugins-autosave

This commit is contained in:
wsdjeg 2022-05-09 12:12:49 +08:00
parent 8621b5b2d3
commit 4f06085b25
2 changed files with 20 additions and 4 deletions

View File

@ -15,6 +15,15 @@
" https://github.com/chrisbra/vim-autosave
" This plugin uses timers to automatically save your work as temporary files.
if exists('s:autosave_timer')
finish
endif
""
" @section autosave, plugins-autosave
" @parentsection plugins
" The `autosave` plugin will save your work automatically, and this plugin has
" been used in `edit` layer, checkout @section(layers-edit) for more info.
let s:default_opt = {
\ 'timeoutlen' : 60*5*1000,

View File

@ -242,10 +242,11 @@ CONTENTS *SpaceVim-contents*
8. undo-tree...................................|SpaceVim-usage-undotree|
9. windows-and-tabs....................|SpaceVim-usage-windows-and-tabs|
8. Plugins................................................|SpaceVim-plugins|
1. iedit........................................|SpaceVim-plugins-iedit|
2. runner......................................|SpaceVim-plugins-runner|
3. tab manager.............................|SpaceVim-plugins-tabmanager|
4. todo manager...........................|SpaceVim-plugins-todomanager|
1. autosave..................................|SpaceVim-plugins-autosave|
2. iedit........................................|SpaceVim-plugins-iedit|
3. runner......................................|SpaceVim-plugins-runner|
4. tab manager.............................|SpaceVim-plugins-tabmanager|
5. todo manager...........................|SpaceVim-plugins-todomanager|
9. API........................................................|SpaceVim-api|
1. clock............................................|SpaceVim-api-clock|
2. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
@ -5979,6 +5980,12 @@ PLUGINS *SpaceVim-plugins*
This is a list of buildin plugins.
==============================================================================
AUTOSAVE *SpaceVim-plugins-autosave*
The `autosave` plugin will save your work automatically, and this plugin has
been used in `edit` layer, checkout |SpaceVim-layers-edit| for more info.
==============================================================================
IEDIT *SpaceVim-plugins-iedit*