Open ":G status" with Fugitive in its own buffer
Not in a split.
This commit is contained in:
parent
f524294339
commit
fb1bbd2868
|
@ -1,5 +1,7 @@
|
|||
vim.keymap.set("n", "<leader>gc", "<cmd>Git commit<cr><C-w>K")
|
||||
vim.keymap.set("n", "<leader>gs", "<cmd>Git<cr><C-w>K")
|
||||
|
||||
-- Open the ":Git" window in its own buffer, not a split.
|
||||
vim.keymap.set("n", "<leader>gs", "<cmd>0Git<cr>")
|
||||
|
||||
vim.api.nvim_create_autocmd("BufWinEnter", {
|
||||
pattern = "*",
|
||||
|
|
Reference in a new issue