feat(nvim): add neogit, peek and mkdir extras

This commit is contained in:
Sergio Laín 2023-12-30 18:44:02 +01:00
parent 68b185dab2
commit b15fd9abe5
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
6 changed files with 44 additions and 2 deletions

View file

@ -241,6 +241,7 @@
- [lewis6991/gitsigns.nvim](https://dotfyle.com/plugins/lewis6991/gitsigns.nvim)
- [akinsho/git-conflict.nvim](https://dotfyle.com/plugins/akinsho/git-conflict.nvim)
- [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim)
- [NeogitOrg/neogit](https://dotfyle.com/plugins/NeogitOrg/neogit)
</details>
@ -302,6 +303,7 @@
- [Zeioth/markmap.nvim](https://dotfyle.com/plugins/Zeioth/markmap.nvim)
- [iamcco/markdown-preview.nvim](https://dotfyle.com/plugins/iamcco/markdown-preview.nvim)
- [toppair/peek.nvim](https://dotfyle.com/plugins/toppair/peek.nvim)
</details>
@ -467,6 +469,7 @@
<summary><b>🔧 Utility</b></summary>
- [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)
- [echasnovski/mini.animate](https://dotfyle.com/plugins/echasnovski/mini.animate)
- [folke/noice.nvim](https://dotfyle.com/plugins/folke/noice.nvim)

View file

@ -57,7 +57,7 @@
"multicursors.nvim": { "branch": "main", "commit": "8e876fe9db46c1b76c151202b418df21eca07bad" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },
"neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" },
"neodev.nvim": { "branch": "main", "commit": "8526ce7de23e04735827a4e3f78ff634880181c5" },
"neodev.nvim": { "branch": "main", "commit": "7cb4f7f29c6bf6f1d21a37f6dd6d12ba64266b09" },
"neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" },
"neotest": { "branch": "master", "commit": "6aa6e4529a4a125b49c48541b97ba146ceee2441" },
"neotest-bash": { "branch": "main", "commit": "2eaad2ae4577fadf4af1eec32ec169d0fb2698bb" },
@ -109,7 +109,7 @@
"search-replace.nvim": { "branch": "main", "commit": "d92290a02d97f4e9b8cd60d28b56b403432158d5" },
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
"smart-splits.nvim": { "branch": "master", "commit": "f0003bf9c3f11b8b9209264f865b8864453ca926" },
"sniprun": { "branch": "master", "commit": "639877399a23e375a8c07b75c14d017735eab7cb" },
"sniprun": { "branch": "master", "commit": "551f5839c1ccc8b4d3143ae03f58757d3047e391" },
"sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" },
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
"telescope-all-recent.nvim": { "branch": "main", "commit": "766d79bedf8dd59c2d0a944a7cf3c98795ab5f07" },

View 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 = {},
},
}

View 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
}

View file

@ -56,6 +56,7 @@ return {
lsp_trouble = false,
navic = { enabled = false, custom_bg = "lualine" },
neotest = true,
neogit = true,
neotree = true,
notify = true,
noice = true,

View file

@ -0,0 +1,4 @@
return {
"jghauser/mkdir.nvim",
event = "VeryLazy",
}