✨ feat(nvim): add neogit, peek and mkdir extras
This commit is contained in:
parent
68b185dab2
commit
b15fd9abe5
6 changed files with 44 additions and 2 deletions
3
.config/nvim/.github/README.md
vendored
3
.config/nvim/.github/README.md
vendored
|
@ -241,6 +241,7 @@
|
||||||
- [lewis6991/gitsigns.nvim](https://dotfyle.com/plugins/lewis6991/gitsigns.nvim)
|
- [lewis6991/gitsigns.nvim](https://dotfyle.com/plugins/lewis6991/gitsigns.nvim)
|
||||||
- [akinsho/git-conflict.nvim](https://dotfyle.com/plugins/akinsho/git-conflict.nvim)
|
- [akinsho/git-conflict.nvim](https://dotfyle.com/plugins/akinsho/git-conflict.nvim)
|
||||||
- [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim)
|
- [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim)
|
||||||
|
- [NeogitOrg/neogit](https://dotfyle.com/plugins/NeogitOrg/neogit)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
@ -302,6 +303,7 @@
|
||||||
|
|
||||||
- [Zeioth/markmap.nvim](https://dotfyle.com/plugins/Zeioth/markmap.nvim)
|
- [Zeioth/markmap.nvim](https://dotfyle.com/plugins/Zeioth/markmap.nvim)
|
||||||
- [iamcco/markdown-preview.nvim](https://dotfyle.com/plugins/iamcco/markdown-preview.nvim)
|
- [iamcco/markdown-preview.nvim](https://dotfyle.com/plugins/iamcco/markdown-preview.nvim)
|
||||||
|
- [toppair/peek.nvim](https://dotfyle.com/plugins/toppair/peek.nvim)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
@ -467,6 +469,7 @@
|
||||||
<summary><b>🔧 Utility</b></summary>
|
<summary><b>🔧 Utility</b></summary>
|
||||||
|
|
||||||
- [zbirenbaum/neodim](https://dotfyle.com/plugins/zbirenbaum/neodim)
|
- [zbirenbaum/neodim](https://dotfyle.com/plugins/zbirenbaum/neodim)
|
||||||
|
- [jghauser/mkdir.nvim](https://dotfyle.com/plugins/jghauser/mkdir.nvim)
|
||||||
- [backdround/tabscope](https://dotfyle.com/plugins/backdround/tabscope.nvim)
|
- [backdround/tabscope](https://dotfyle.com/plugins/backdround/tabscope.nvim)
|
||||||
- [echasnovski/mini.animate](https://dotfyle.com/plugins/echasnovski/mini.animate)
|
- [echasnovski/mini.animate](https://dotfyle.com/plugins/echasnovski/mini.animate)
|
||||||
- [folke/noice.nvim](https://dotfyle.com/plugins/folke/noice.nvim)
|
- [folke/noice.nvim](https://dotfyle.com/plugins/folke/noice.nvim)
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
"multicursors.nvim": { "branch": "main", "commit": "8e876fe9db46c1b76c151202b418df21eca07bad" },
|
"multicursors.nvim": { "branch": "main", "commit": "8e876fe9db46c1b76c151202b418df21eca07bad" },
|
||||||
"neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },
|
"neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },
|
||||||
"neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" },
|
"neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" },
|
||||||
"neodev.nvim": { "branch": "main", "commit": "8526ce7de23e04735827a4e3f78ff634880181c5" },
|
"neodev.nvim": { "branch": "main", "commit": "7cb4f7f29c6bf6f1d21a37f6dd6d12ba64266b09" },
|
||||||
"neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" },
|
"neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" },
|
||||||
"neotest": { "branch": "master", "commit": "6aa6e4529a4a125b49c48541b97ba146ceee2441" },
|
"neotest": { "branch": "master", "commit": "6aa6e4529a4a125b49c48541b97ba146ceee2441" },
|
||||||
"neotest-bash": { "branch": "main", "commit": "2eaad2ae4577fadf4af1eec32ec169d0fb2698bb" },
|
"neotest-bash": { "branch": "main", "commit": "2eaad2ae4577fadf4af1eec32ec169d0fb2698bb" },
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
"search-replace.nvim": { "branch": "main", "commit": "d92290a02d97f4e9b8cd60d28b56b403432158d5" },
|
"search-replace.nvim": { "branch": "main", "commit": "d92290a02d97f4e9b8cd60d28b56b403432158d5" },
|
||||||
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
|
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "f0003bf9c3f11b8b9209264f865b8864453ca926" },
|
"smart-splits.nvim": { "branch": "master", "commit": "f0003bf9c3f11b8b9209264f865b8864453ca926" },
|
||||||
"sniprun": { "branch": "master", "commit": "639877399a23e375a8c07b75c14d017735eab7cb" },
|
"sniprun": { "branch": "master", "commit": "551f5839c1ccc8b4d3143ae03f58757d3047e391" },
|
||||||
"sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" },
|
"sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" },
|
||||||
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
|
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
|
||||||
"telescope-all-recent.nvim": { "branch": "main", "commit": "766d79bedf8dd59c2d0a944a7cf3c98795ab5f07" },
|
"telescope-all-recent.nvim": { "branch": "main", "commit": "766d79bedf8dd59c2d0a944a7cf3c98795ab5f07" },
|
||||||
|
|
23
.config/nvim/lua/plugins/extras/editor/docs/peek.lua
Normal file
23
.config/nvim/lua/plugins/extras/editor/docs/peek.lua
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
return {
|
||||||
|
{ "iamcco/markdown-preview.nvim", enabled = false },
|
||||||
|
{
|
||||||
|
"toppair/peek.nvim",
|
||||||
|
build = "deno task --quiet build:fast",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>cp",
|
||||||
|
ft = "markdown",
|
||||||
|
function()
|
||||||
|
local peek = require("peek")
|
||||||
|
if peek.is_open() then
|
||||||
|
peek.close()
|
||||||
|
else
|
||||||
|
peek.open()
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
desc = "Peek (Markdown Preview)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
}
|
11
.config/nvim/lua/plugins/extras/editor/git/neogit.lua
Normal file
11
.config/nvim/lua/plugins/extras/editor/git/neogit.lua
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
return {
|
||||||
|
"NeogitOrg/neogit",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"sindrets/diffview.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
},
|
||||||
|
config = true,
|
||||||
|
cmd = { "Neogit" },
|
||||||
|
-- TODO: Need to configure this
|
||||||
|
}
|
|
@ -56,6 +56,7 @@ return {
|
||||||
lsp_trouble = false,
|
lsp_trouble = false,
|
||||||
navic = { enabled = false, custom_bg = "lualine" },
|
navic = { enabled = false, custom_bg = "lualine" },
|
||||||
neotest = true,
|
neotest = true,
|
||||||
|
neogit = true,
|
||||||
neotree = true,
|
neotree = true,
|
||||||
notify = true,
|
notify = true,
|
||||||
noice = true,
|
noice = true,
|
||||||
|
|
4
.config/nvim/lua/plugins/extras/util/mkdir.lua
Normal file
4
.config/nvim/lua/plugins/extras/util/mkdir.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
"jghauser/mkdir.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue