✨ feat(nvim): add new plugin to the github extra for gist management
This commit is contained in:
parent
7beeb6ca5d
commit
4836b80cb5
3 changed files with 19 additions and 1 deletions
1
.config/nvim/.github/README.md
vendored
1
.config/nvim/.github/README.md
vendored
|
@ -274,6 +274,7 @@
|
||||||
<summary><b>🐙 Github</b></summary>
|
<summary><b>🐙 Github</b></summary>
|
||||||
|
|
||||||
- [pwntester/octo.nvim](https://dotfyle.com/plugins/pwntester/octo.nvim)
|
- [pwntester/octo.nvim](https://dotfyle.com/plugins/pwntester/octo.nvim)
|
||||||
|
- [rawnly/gist.nvim](https://dotfyle.com/plugins/rawnly/gist.nvim)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
"nvim-puppeteer": { "branch": "main", "commit": "ea340595967919222f3ba5c6c6def0787a336c82" },
|
"nvim-puppeteer": { "branch": "main", "commit": "ea340595967919222f3ba5c6c6def0787a336c82" },
|
||||||
"nvim-recorder": { "branch": "main", "commit": "61531ea45819e7a2c267c191360cee9ff269fc6b" },
|
"nvim-recorder": { "branch": "main", "commit": "61531ea45819e7a2c267c191360cee9ff269fc6b" },
|
||||||
"nvim-spectre": { "branch": "master", "commit": "2b012554a2536465243c0dff3605b5927c49ed23" },
|
"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-context": { "branch": "master", "commit": "f19766163c18515fb4d3c12d572bf9cba6cdb990" },
|
||||||
"nvim-treesitter-endwise": { "branch": "master", "commit": "60e8c288e011403f248b5f6478dde12bed8a6c55" },
|
"nvim-treesitter-endwise": { "branch": "master", "commit": "60e8c288e011403f248b5f6478dde12bed8a6c55" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" },
|
||||||
|
|
|
@ -32,9 +32,26 @@ return {
|
||||||
["<leader>Gl"] = { name = "label" },
|
["<leader>Gl"] = { name = "label" },
|
||||||
["<leader>Ge"] = { name = "reaction" },
|
["<leader>Ge"] = { name = "reaction" },
|
||||||
["<leader>GR"] = { name = "review" },
|
["<leader>GR"] = { name = "review" },
|
||||||
|
["<leader>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", "<cmd>GistCreate<CR>", desc = "Create a Gist" },
|
||||||
|
{ prefix .. "gf", "<cmd>GistCreateFromFile<CR>", desc = "Create a Gist from File" },
|
||||||
|
{ prefix .. "gl", "<cmd>GistsList<CR>", desc = "List Gists" },
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"pwntester/octo.nvim",
|
"pwntester/octo.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue