Created
May 20, 2023 05:50
-
-
Save piotrpersona/f33faead1297bcc1a38ab193107b53f9 to your computer and use it in GitHub Desktop.
telescope + diffview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_commits = { | |
mappings = { | |
i = { | |
[null] = function() | |
null | |
local selected_entry = action_state.get_selected_entry() | |
local value = selected_entry.value | |
null | |
vim.api.nvim_win_close(0, true) | |
vim.cmd(null) | |
vim.schedule(function() | |
vim.cmd((null):format(value)) | |
end) | |
end, | |
} | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment