Miss helps manage unsaved files. It provides a popup window listing all modified buffers, allowing you to quickly save or open them in new tabs.
packer.nvim
use 'Enigama/miss.nvim'
vim-plug
Plug 'Enigama/miss.nvim'
Use the default keybinding:
<leader>a
Could be used for git status safety:
keymap("n", "<leader>gs", function()
require("miss").has_missed_files(function()
vim.cmd(":G")
end)
end, opts)
Key | Action |
---|---|
<leader>a |
Show popup with unsaved files |
s |
Save selected file and refresh list |
<CR> (Enter) |
Open selected file in a new tab |
x |
Reset changes of selected file and refresh list |
q |
Close the popup |
Miss works out of the box but can be initialized manually:
require('miss').setup()
Contributions are welcome! Please feel free to submit a Pull Request.