diff --git a/.config/nvim-min/init.lua b/.config/nvim-min/init.lua index e83ffc75..74c1cb70 100644 --- a/.config/nvim-min/init.lua +++ b/.config/nvim-min/init.lua @@ -21,6 +21,9 @@ vim.opt.rtp:prepend(lazypath) vim.g.mapleader = " " vim.g.maplocalleader = "," +vim.keymap.set("n", "", "qa!") +vim.keymap.set("n", "gg", "Neogit") + -- Setup lazy.nvim require("lazy").setup({ spec = { @@ -28,6 +31,17 @@ require("lazy").setup({ { dir = "~/dev/plugins/ashen.nvim/", }, + { + "NeogitOrg/neogit", + dependencies = { + "nvim-lua/plenary.nvim", -- required + "sindrets/diffview.nvim", -- optional - Diff integration + + -- Only one of these is needed. + "ibhagwan/fzf-lua", -- optional + }, + config = true, + }, }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. diff --git a/.config/nvim-min/lazy-lock.json b/.config/nvim-min/lazy-lock.json index b0c8131c..2312e4de 100644 --- a/.config/nvim-min/lazy-lock.json +++ b/.config/nvim-min/lazy-lock.json @@ -1,4 +1,7 @@ { - "ashen.nvim": { "branch": "main", "commit": "e42fb457ba4cd9697667153c7307c09a6ce44785" }, - "lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" } + "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, + "fzf-lua": { "branch": "main", "commit": "6f7249741168c0751356e3b6c5c1e3bade833b6b" }, + "lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" }, + "neogit": { "branch": "master", "commit": "a1fc4e50fa494e04097cf2d02e86bcd7ac5760d6" }, + "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" } }