Skip to content

Preview while moving in a file #897

Answered by airblade
az-z asked this question in Q&A
Sep 23, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Try this:

au CursorMoved * if gitgutter#hunk#in_hunk(line(".")) | GitGutterPreviewHunk | else | pclose | endif

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@az-z
Comment options

Answer selected by az-z
Comment options

You must be logged in to vote
1 reply
@az-z
Comment options

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