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
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

View File

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