Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump to a line number without counting uncommited lines #385

Closed
Lexx666 opened this issue Nov 3, 2021 · 1 comment
Closed

Jump to a line number without counting uncommited lines #385

Lexx666 opened this issue Nov 3, 2021 · 1 comment

Comments

@Lexx666
Copy link

Lexx666 commented Nov 3, 2021

As a coder fixing a reviewed file I would like to jump to certain line numbers that correspond to the old version that was reviewed. But if I change the code having more or less lines than before, I can't reference to that line numbers anymore. I would need to substract or add all new or deleted lines till that point from the line numbers. This sounds like a problem signify already knows all about (new lines and deleted lines since last commit) and could easyly provide a command to jump to the old line numbers.

@Lexx666
Copy link
Author

Lexx666 commented Nov 3, 2021

I found out that I can solve tha problem by simply opening a :Gdiff.

@Lexx666 Lexx666 closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant