Skip to content

claydugo/tip-of-my-buffer.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

tip_of_my_buffer.nvim

tip_of_my_buffer.nvim is a Neovim plugin designed to automatically save your files when leaving your tmux pane or alt-tabbing.

Features

  • Automatically saves your buffers when certain events occur (e.g., FocusLost)
  • Option to enable/disable saving for specific file types, filenames, modes, etc.

Installation

Using lazy.nvim

To install this plugin with lazy.nvim, add the following to your configuration:

{
    "claydugo/tip_of_my_buffer.nvim",
    event = "VeryLazy",
}

You can also customize the default (below) settings by specifying them to the setup function

{
    "claydugo/tip_of_my_buffer.nvim",
    event = "VeryLazy",
    config = function()
        require("tip_of_my_buffer").setup({
            enabled = true,
            events = { "FocusLost" },
            execution_message = "",
            conditions = {
                exclude_filename = {},
                exclude_filetype = {},
                exclude_mode = { "i", "c" },
            },
            debounce_delay_ms = 150,
        })
    end

About

dont stump yourself

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages