helix
helix copied to clipboard
Is there a whichwrap option?
Hello,
I would love to have a whichwrap option like in vim.
Basically, the idea would be that, when I'm at the end of a line and type right
, I should just stay at the end of my line.
The same goes for the start of the line and left
.
Is this something planned?
From the documentation, it sounds like the Home
(start line) and End
(end line) keys. https://docs.helix-editor.com/keymap.html
@kirawi you should read the linked documentation, it's about configuring this behavior, not about specific keys :P
There's no configuration option and I'm not sure if we want this to be configurable.
Currently everything wraps: h/l used to stop at the end of line but after a discussion with @cessen we removed this limitation and had it match kakoune. I personally don't use this wrapping behavior, but what's the rationale for explicitly disabling it?
I would love to see this behaviour back, it was one of the reason why I went back to vim after using kakoune for ~6 months ☹️
(But overall I'm really in love with helix and don't plan to quit soon even if this behaviour is never implemented! Thanks for all the great works!)
I personally think this can be nice to have, if a bit niche, but I don't really think there's much of a reason not to make this configurable. Though it barely affects me, I think if it were configurable, I'd turn wrapping off.
@irevoire just curious what the benefit would be?
curious what the benefit would be?
Just preventing complexity, IMO.
We've always had 4 directional keys, and making half of them go diagonally only at certain times is plain confusing.
Yeah, especially when you have multiple cursors and by hitting right
one goes to the next line :weary:
Even after two years of usage I still think about it at least once a day