Compare commits
2 Commits
1a2d03d2c9
...
44a0ad24f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 44a0ad24f1 | |||
| 6fe552e3dc |
@@ -29,7 +29,6 @@ require("lazy").setup({
|
|||||||
}, lazy_config)
|
}, lazy_config)
|
||||||
|
|
||||||
-- load plugins' setup
|
-- load plugins' setup
|
||||||
require("neogit").setup{}
|
|
||||||
require("gitmoji").setup({})
|
require("gitmoji").setup({})
|
||||||
require("todo-comments").setup({})
|
require("todo-comments").setup({})
|
||||||
-- require("cmp").setup({
|
-- require("cmp").setup({
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ local map = vim.keymap.set
|
|||||||
|
|
||||||
map("n", ";", ":", { desc = "CMD enter command mode" })
|
map("n", ";", ":", { desc = "CMD enter command mode" })
|
||||||
map("i", "jk", "<ESC>")
|
map("i", "jk", "<ESC>")
|
||||||
map("n", "<leader>gh", ":Neogit <cr>")
|
-- map("n", "<leader>gh", ":Neogit <cr>")
|
||||||
map("n", "<leader>md", ":MarkdownPreviewToggle <cr>")
|
map("n", "<leader>md", ":MarkdownPreviewToggle <cr>")
|
||||||
map("n", "<leader>tl", ":TodoLocList <cr>")
|
map("n", "<leader>tl", ":TodoLocList <cr>")
|
||||||
map("n", "<leader>td", ":TodoQuickFix <cr>")
|
map("n", "<leader>td", ":TodoQuickFix <cr>")
|
||||||
|
|||||||
+19
-9
@@ -50,15 +50,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"NeogitOrg/neogit",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
},
|
|
||||||
config = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"kylechui/nvim-surround",
|
"kylechui/nvim-surround",
|
||||||
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||||
@@ -137,4 +128,23 @@ return {
|
|||||||
opts = {}
|
opts = {}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"kdheepak/lazygit.nvim",
|
||||||
|
cmd = {
|
||||||
|
"LazyGit",
|
||||||
|
"LazyGitConfig",
|
||||||
|
"LazyGitCurrentFile",
|
||||||
|
"LazyGitFilter",
|
||||||
|
"LazyGitFilterCurrentFile",
|
||||||
|
},
|
||||||
|
-- optional for floating window border decoration
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
},
|
||||||
|
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||||
|
-- order to load the plugin when the command is run for the first time
|
||||||
|
keys = {
|
||||||
|
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user