Skip to content

Is there a way to get git blame for a specific line in helix? #6421

Answered by danillos
sanket143 asked this question in Q&A
Discussion options

You must be logged in to vote

Currently, it is not possible.

But a workaround could be possible using this PR #3393 when it includes a variable like %val{linenumber}.

We could build a script with a keybinding to show the result of the script in a popup like:

F7 = [':sh git_blame.sh %val{filename}:%val{linenumber}']

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Septias
Comment options

@jm355
Comment options

@Septias
Comment options

Answer selected by sanket143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants