diff --git a/lua/core/keybinds.lua b/lua/core/keybinds.lua index 879622a..52d2229 100644 --- a/lua/core/keybinds.lua +++ b/lua/core/keybinds.lua @@ -23,8 +23,9 @@ wk.register({ }, g = { name = "git", - p = { "Neogit cwd=%:p:h push", "Push Popup" }, - c = { "Neogit cwd=%:p:h commit", "Commit Popup" }, + p = { "Neogit cwd=" .. vim.fn.expand("%:p:h") .. " push", "Push Popup" }, + c = { "Neogit cwd=" .. vim.fn.expand("%:p:h") .. " commit", "Commit Popup" }, + g = { "Neogit", "Neogit" }, }, ["."] = { ":e ", "Edit File", silent = false }, }, { prefix = "" })