diff --git a/.config/nvim/.github/README.md b/.config/nvim/.github/README.md
index 32976baf..a43ec64e 100644
--- a/.config/nvim/.github/README.md
+++ b/.config/nvim/.github/README.md
@@ -274,6 +274,7 @@
🐙 Github
- [pwntester/octo.nvim](https://dotfyle.com/plugins/pwntester/octo.nvim)
+- [rawnly/gist.nvim](https://dotfyle.com/plugins/rawnly/gist.nvim)
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json
index b29abddf..e465e347 100644
--- a/.config/nvim/lazy-lock.json
+++ b/.config/nvim/lazy-lock.json
@@ -72,7 +72,7 @@
"nvim-puppeteer": { "branch": "main", "commit": "ea340595967919222f3ba5c6c6def0787a336c82" },
"nvim-recorder": { "branch": "main", "commit": "61531ea45819e7a2c267c191360cee9ff269fc6b" },
"nvim-spectre": { "branch": "master", "commit": "2b012554a2536465243c0dff3605b5927c49ed23" },
- "nvim-treesitter": { "branch": "master", "commit": "5127a844073d56df9ee4e64ccfc17ecc294e38b5" },
+ "nvim-treesitter": { "branch": "master", "commit": "6e0b031ebb212e7082bc3007f8b9614cb393465c" },
"nvim-treesitter-context": { "branch": "master", "commit": "f19766163c18515fb4d3c12d572bf9cba6cdb990" },
"nvim-treesitter-endwise": { "branch": "master", "commit": "60e8c288e011403f248b5f6478dde12bed8a6c55" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" },
diff --git a/.config/nvim/lua/plugins/extras/editor/git/github.lua b/.config/nvim/lua/plugins/extras/editor/git/github.lua
index aafeaaf1..06a5a6e1 100644
--- a/.config/nvim/lua/plugins/extras/editor/git/github.lua
+++ b/.config/nvim/lua/plugins/extras/editor/git/github.lua
@@ -32,9 +32,26 @@ return {
["Gl"] = { name = "label" },
["Ge"] = { name = "reaction" },
["GR"] = { name = "review" },
+ ["Gg"] = { name = "gist" },
},
},
},
+ {
+ "Rawnly/gist.nvim",
+ cmd = { "GistCreate", "GistCreateFromFile", "GistsList" },
+ dependencies = {
+ "samjwill/nvim-unception",
+ init = function()
+ vim.g.unception_block_while_host_edits = true
+ end,
+ },
+ opts = {},
+ keys = {
+ { prefix .. "gc", "GistCreate", desc = "Create a Gist" },
+ { prefix .. "gf", "GistCreateFromFile", desc = "Create a Gist from File" },
+ { prefix .. "gl", "GistsList", desc = "List Gists" },
+ },
+ },
{
"pwntester/octo.nvim",
dependencies = {