diff options
author | talha <talha@talhaamir.xyz> | 2023-11-19 13:47:03 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2023-11-19 13:47:03 +0500 |
commit | a75d4659bfac04a1f5cad4166cc68f873768c653 (patch) | |
tree | 1e3d7f0198bd16ca3270bcb3a72955f21738971a /after/plugin/fugitive.lua |
Adding files for upload
Diffstat (limited to 'after/plugin/fugitive.lua')
-rw-r--r-- | after/plugin/fugitive.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/after/plugin/fugitive.lua b/after/plugin/fugitive.lua new file mode 100644 index 0000000..a8aa35c --- /dev/null +++ b/after/plugin/fugitive.lua @@ -0,0 +1,5 @@ +vim.keymap.set("n", "<leader>gs", vim.cmd.Git) +vim.keymap.set("n", "<leader>gb", ":Git blame<CR>") +-- see docs for more details +vim.keymap.set("n", "<leader>gk", ":diffget //3<CR>") -- get diff from upstream (merge) +vim.keymap.set("n", "<leader>gj", ":diffget //2<CR>") -- get diff from downstream (target) |