Added lazygit.nvim and crates.nvim (plus set leader to space key)
This commit is contained in:
@@ -8,3 +8,5 @@ vim.opt.shiftwidth = 4
|
|||||||
vim.opt.foldmethod = marker
|
vim.opt.foldmethod = marker
|
||||||
|
|
||||||
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
||||||
|
|
||||||
|
vim.g.mapleader = "<Space>"
|
||||||
|
|||||||
7
lua/plugins/crates.lua
Normal file
7
lua/plugins/crates.lua
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'saecki/crates.nvim',
|
||||||
|
tag = 'stable',
|
||||||
|
config = function()
|
||||||
|
require('crates').setup()
|
||||||
|
end,
|
||||||
|
}
|
||||||
21
lua/plugins/lazygit.lua
Normal file
21
lua/plugins/lazygit.lua
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
-- nvim v0.8.0
|
||||||
|
return {
|
||||||
|
"kdheepak/lazygit.nvim",
|
||||||
|
lazy = true,
|
||||||
|
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