Update and Rollback
Update SpaceVim itself
There are several methods of updating the core files of SpaceVim. It is recommended to update the packages first; see the next section.
Automatic Updates
NOTE: By default, this feature is disabled, It will slow down the startup of vim/neovim. If you like this feature, add let g:spacevim_automatic_update = 1
to your custom configuration file.
SpaceVim will automatically check for a new version every startup. You must restart Vim after updating.
Updating from the SpaceVim Buffer
Use :SPUpdate SpaceVim
in SpaceVim buffer, This command will open a buffer to show the process of updating.
Updating Manually with git
To update manually close Vim and update the git repository:
git -C ~/.SpaceVim pull
.
Update plugins
Use :SPUpdate
command will update all the plugins and SpaceVim itself. after :SPUpdate
, you can assign plugins need to be updated. Use Tab
to complete plugin names after :SPUpdate
.
Get SpaceVim log
Use :SPDebugInfo!
command will display the log of SpaceVim. You also can use SPC h I
to open a buffer with issue template.