Lapacho is a Neovim plugin designed to enhance session management by automatically saving and loading shada files according to the current Git branch. This allows users to maintain separate shada files for different branches.
From the original documentation:
The ShaDa file is used to store:
- The command line history.
- The search string history.
- The input-line history.
- Contents of non-empty registers.
- Marks for several files.
- File marks, pointing to locations in files.
- Last search/substitute pattern (for 'n' and '&').
- The buffer list.
- Global variables.
More information in the official documentation or using :help shada.
It is possible to use this plugin in conjunction with session management plugins like auto-session
- Automatically save and load shada files based on the current Git branch.
- Manual commands to save and load shada files.
- Configurable options to disable automatic shada management.
Basically, to link Marks to git branches. This is useful when you are working on different branches and want to keep your marks separated.