update
This commit is contained in:
parent
9154307f9e
commit
6bf5388af9
1 changed files with 12 additions and 20 deletions
32
init.lua
32
init.lua
|
|
@ -124,6 +124,18 @@ require("lazy").setup({
|
||||||
'hrsh7th/vim-vsnip',
|
'hrsh7th/vim-vsnip',
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
"nvimtools/none-ls.nvim",
|
"nvimtools/none-ls.nvim",
|
||||||
|
{
|
||||||
|
"NeogitOrg/neogit",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim", -- required
|
||||||
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||||
|
|
||||||
|
-- Only one of these is needed.
|
||||||
|
"nvim-telescope/telescope.nvim", -- optional
|
||||||
|
"ibhagwan/fzf-lua", -- optional
|
||||||
|
"echasnovski/mini.pick", -- optional
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"terrortylor/nvim-comment",
|
"terrortylor/nvim-comment",
|
||||||
config = function()
|
config = function()
|
||||||
|
|
@ -374,25 +386,6 @@ require("lazy").setup({
|
||||||
opts = {}
|
opts = {}
|
||||||
},
|
},
|
||||||
{ "cappyzawa/trim.nvim", opts = {} },
|
{ "cappyzawa/trim.nvim", 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" }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'tribela/transparent.nvim',
|
'tribela/transparent.nvim',
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
|
|
@ -580,7 +573,6 @@ map('n', '<A-n>', '<Cmd>BufferMovePrevious<CR>', opts)
|
||||||
map('n', '<A-m>', '<Cmd>BufferMoveNext<CR>', opts)
|
map('n', '<A-m>', '<Cmd>BufferMoveNext<CR>', opts)
|
||||||
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
|
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
|
||||||
map('n', '<A-p>', '<Cmd>BufferPick<CR>', opts)
|
map('n', '<A-p>', '<Cmd>BufferPick<CR>', opts)
|
||||||
map('t', '<Esc>', '<C-\\><C-n>', opts)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- Eval
|
-- Eval
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue