Working on install script(s)

This commit is contained in:
2022-01-01 12:45:06 -05:00
parent da08e4eabe
commit 95d919811f
22 changed files with 46 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
local neogit = require('neogit')
--neogit.config.use_magit_keybindings()
neogit.setup {
disable_signs = false,
disable_context_highlighting = false,
disable_commit_confirmation = true,
-- 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"] = "",
}
}
}