feat: Use neogit instead of vimagit
This commit is contained in:
parent
a811cd131f
commit
9b2bd1fbfa
6
nix/base-system/flake.lock
generated
6
nix/base-system/flake.lock
generated
@ -329,11 +329,11 @@
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709072133,
|
||||
"narHash": "sha256-RdDYNockp2wH22DdJlQ/h8IJnB9n9U3XLIAI4dqMQME=",
|
||||
"lastModified": 1710102698,
|
||||
"narHash": "sha256-PO4wOhMGqL1zVWSTiGMPGnW1aC5urvInhd9TV82LF0E=",
|
||||
"owner": "zaphar",
|
||||
"repo": "Heracles",
|
||||
"rev": "782cca41a0b44ea8ac68c696f73d5491197a933b",
|
||||
"rev": "00e84bd99a2ccf25363034ac9de7eeba916867a8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -132,7 +132,7 @@ EOF";
|
||||
cmp-nvim-lsp-signature-help
|
||||
nvim-dap # Debug Adapter Protocol support
|
||||
#nvim-dap-ui
|
||||
vimagit
|
||||
neogit
|
||||
hoon-vim
|
||||
nvim-treesitter
|
||||
lean-nvim
|
||||
@ -190,7 +190,7 @@ EOF";
|
||||
nil-pkg
|
||||
lua-language-server
|
||||
rust-analyzer
|
||||
#omnisharp-roslyn
|
||||
omnisharp-roslyn
|
||||
]);
|
||||
};
|
||||
};
|
||||
|
@ -452,8 +452,13 @@ vim.keymap.set("n", "<Leader>ts", function()
|
||||
vim.cmd("tabs")
|
||||
end)
|
||||
|
||||
-- Neogit integration
|
||||
-- See https://github.com/NeogitOrg/neogit for configuration information.
|
||||
local neogit = require('neogit')
|
||||
neogit.setup()
|
||||
|
||||
vim.keymap.set("n", "<Leader>mg", function()
|
||||
vim.cmd("MagitOnly")
|
||||
neogit.open()
|
||||
end)
|
||||
|
||||
-- Add a file to git
|
||||
@ -525,7 +530,9 @@ lean.setup {
|
||||
|
||||
-- telescope keymaps
|
||||
vim.keymap.set("n", "<Leader>pl", telescope.extensions.possession.list)
|
||||
-- TODO(zaphar): Remove this once my muscle memory has set in.
|
||||
vim.keymap.set("n", "<Leader>nff", telescope_builtins.fd)
|
||||
vim.keymap.set("n", "<Leader>ff", telescope_builtins.fd)
|
||||
vim.keymap.set("n", "<Leader>rl", telescope_builtins.lsp_references)
|
||||
vim.keymap.set("n", "<Leader>rn", vim.lsp.buf.rename)
|
||||
vim.keymap.set("n", "<Leader>sl", telescope_builtins.lsp_workspace_symbols)
|
||||
|
Loading…
x
Reference in New Issue
Block a user