mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fix git show <c-v>
This commit is contained in:
@@ -86,13 +86,13 @@ local git_show = function(opts)
|
||||
end)
|
||||
map({ "i", "n" }, "<c-v>", function(bufr)
|
||||
actions.close(bufr)
|
||||
local entry = action_state.get_selected_entry()
|
||||
vim.cmd("Gvsplit " .. entry.value .. ":" .. entry.current_file)
|
||||
local selection = action_state.get_selected_entry()
|
||||
vim.cmd("Gvsplit " .. opts.ref .. ":" .. selection.value)
|
||||
end)
|
||||
map({ "i", "n" }, "<c-s>", function(bufr)
|
||||
actions.close(bufr)
|
||||
local entry = action_state.get_selected_entry()
|
||||
vim.cmd("Gsplit " .. entry.value .. ":" .. entry.current_file)
|
||||
local selection = action_state.get_selected_entry()
|
||||
vim.cmd("Gsplit " .. opts.ref .. ":" .. selection.value)
|
||||
end)
|
||||
return true
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user