Skip to content

rufex/lapacho.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lapacho

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.

What is a shada file?

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.

Session management

It is possible to use this plugin in conjunction with session management plugins like auto-session

Features

  • 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.

Why?

Basically, to link Marks to git branches. This is useful when you are working on different branches and want to keep your marks separated.

Lapacho

Image by César Pérez - Own work, CC BY-SA 4.0

About

Neovim plugin to automatically save and load shada files based on git branches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages