diff --git a/lua/astrocommunity/editing-support/stickybuf-nvim/README.md b/lua/astrocommunity/editing-support/stickybuf-nvim/README.md new file mode 100644 index 000000000..5e7c6e46d --- /dev/null +++ b/lua/astrocommunity/editing-support/stickybuf-nvim/README.md @@ -0,0 +1,7 @@ +# stickybuf.nvim + +Neovim plugin for locking a buffer to a window + +Have you ever accidentally opened a file into your file explorer or quickfix window? + +**Repository:** diff --git a/lua/astrocommunity/editing-support/stickybuf-nvim/init.lua b/lua/astrocommunity/editing-support/stickybuf-nvim/init.lua new file mode 100644 index 000000000..736d02da5 --- /dev/null +++ b/lua/astrocommunity/editing-support/stickybuf-nvim/init.lua @@ -0,0 +1,6 @@ +return { + "stevearc/stickybuf.nvim", + opts = {}, + event = { "User AstroFile" }, + cmd = { "PinBuffer", "PinBuftype", "PinFiletype" }, +}