-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(helix-view): dynamic line numbers #1522
Conversation
Can I know how did you do this in vim, neovim, and kakoune? Although this seemed useful as a default (at least from what I see given that relative number is only showing at the time it is useful), it seemed oddly specific. |
I think you also need to update the book |
I'm pretty sure I originally found my original Vim version online on some "tips and tricks" wiki that I could swear was on Wikia, but I can't find it now. Maybe I'm misremembering and never had it in regular Vim; a quick search of the This, after some refinement, is how I did it in Neovim, and this mess, of my own invention, is how I do it in Kakoune.
Yes, good catch. I'll do that now. EDIT: I may have found it. |
Should we just make this the default behavior of relative line number? I can't imagine you'd want relative line numbers in unfocused windows so the new behavior seems a lot better |
Let's make this the default behavior of |
This is a configuration that I've carried with me from Vim to Neovim to Kakoune.
This implementation was remarkably easy to figure out; in the past, it had always been unusually difficult and relied on various mode change hooks and what not.