Skip to content

swaits/tiny-shoo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-shoo.nvim

A tiny plugin for Neovim 0.12+ that makes transient windows easy to dismiss.

Zero config. ~25 lines of Lua.

Features

  • Press q to close special buffers (help, quickfix, checkhealth, etc.)
  • Auto-closes quickfix window when it's the last window open
  • Marks transient buffers as unlisted
  • Configurable filetype list
  • Works out of the box — no setup call required

Requirements

  • Neovim >= 0.12

Installation

Add to your vim.pack.add() call:

"https://github.com/swaits/tiny-shoo.nvim",

Configuration

All options are optional. Call setup() only if you want to customize:

require("tiny-shoo").setup({
  filetypes = {
    "checkhealth", "help", "lspinfo", "man", "neotest-output",
    "neotest-output-panel", "neotest-summary", "notify", "qf",
    "query", "startuptime",
  },
})

License

MIT

About

Close special buffers with q, auto-close orphaned quickfix

Topics

Resources

License

Stars

Watchers

Forks

Packages