a bit sloppy but working
This commit is contained in:
29
lua/config/neogit.lua
Normal file
29
lua/config/neogit.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
local neogit = require("neogit")
|
||||
|
||||
neogit.setup {
|
||||
disable_signs = false,
|
||||
disable_context_highlighting = false,
|
||||
disable_commit_confirmation = false,
|
||||
-- customize displayed signs
|
||||
signs = {
|
||||
-- { CLOSED, OPENED }
|
||||
section = {">", "v"},
|
||||
item = {">", "v"},
|
||||
hunk = {"", ""}
|
||||
},
|
||||
integrations = {diffview = true},
|
||||
-- override/add mappings
|
||||
mappings = {
|
||||
-- modify status buffer mappings
|
||||
status = {
|
||||
-- Adds a mapping with "B" as key that does the "BranchPopup" command
|
||||
-- ["B"] = "BranchPopup",
|
||||
-- ["C"] = "CommitPopup",
|
||||
-- ["P"] = "PullPopup",
|
||||
-- ["S"] = "Stage",
|
||||
-- ["D"] = "Discard",
|
||||
-- Removes the default mapping of "s"
|
||||
-- ["s"] = "",
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user