Neovim: Fix GBrowse keybind in visual mode

This commit is contained in:
Marko Korhonen 2024-10-17 10:20:16 +03:00
parent e073807f40
commit e6f1f05c80
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -32,8 +32,6 @@ return {
vim.cmd("Git pull") vim.cmd("Git pull")
end, { desc = "Pull" }) end, { desc = "Pull" })
k({ "n", "x" }, "<leader>gb", function() k({ "n", "x" }, "<leader>gb", "<cmd>'<,'>GBrowse<cr><esc>", { desc = "Browse" })
vim.cmd("GBrowse")
end, { desc = "Browse" })
end, end,
} }