Skip to content

Instantly share code, notes, and snippets.

@tsathis
Created February 17, 2026 15:00
Show Gist options
  • Select an option

  • Save tsathis/8ed66f14e5f015e1c9eef32e945e1f27 to your computer and use it in GitHub Desktop.

Select an option

Save tsathis/8ed66f14e5f015e1c9eef32e945e1f27 to your computer and use it in GitHub Desktop.
return {
{
"Rawnly/gist.nvim",
cmd = { "GistCreate", "GistCreateFromFile", "GistsList" },
config = function()
require("gist").setup({
platform = "github",
clipboard = "+", -- system clipboard (+), use "*" if you prefer primary/selection
prompts = {
create = {
private = true,
description = true,
},
},
platforms = {
github = {
private = true,
},
},
})
end,
},
-- `GistsList` opens the selected gist in a terminal buffer,
-- nvim-unception uses neovim remote rpc functionality to open the gist in an actual buffer
-- and prevents neovim buffer inception
{
"samjwill/nvim-unception",
lazy = false,
init = function()
vim.g.unception_block_while_host_edits = true
end,
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment