You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
463 B
12 lines
463 B
local keymap = vim.keymap |
|
|
|
vim.keymap.set("n", "<leader>gs", vim.cmd.Git) |
|
vim.keymap.set("n", "<leader>ga", vim.cmd.Gwrite, { desc = "Git add" }) |
|
vim.keymap.set("n", "<leader>gd", vim.cmd.Gdiffsplit) |
|
keymap.set("n", "<leader>gpl", "<cmd>Git pull<cr>", { desc = "Git pull"}) |
|
keymap.set("n", "<leader>gpu", "<cmd>15 split | term git push<cr>", {desc = "Git push" }) |
|
|
|
-- convert git to Git in command line mode |
|
-- vim.fn['utils#Cabbrev']('git', 'Git') |
|
|
|
|
|
|