forked from nico/dots
nvim: added neovim configuration
This commit is contained in:
parent
7182c3a7a0
commit
0399226628
17 changed files with 579 additions and 0 deletions
17
stow/.config/nvim/lua/nico/lazy/neogit.lua
Normal file
17
stow/.config/nvim/lua/nico/lazy/neogit.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
"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
|
||||
},
|
||||
|
||||
config = function(_, opts)
|
||||
vim.keymap.set('n', '<leader>g', '<cmd>Neogit<CR>')
|
||||
require('neogit').setup(opts) -- this works idk how
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue