I was about to go on a mini-rant about how Markdown enforces readability of the source by allowing hard-breaks to not change the output, but it’s an already long-standing debate.
I will just say that I like to control what is a line and what is not, independently from the width of my editor window and its soft-wrapping. Consequently I actually never want to go to the end or start of a soft-wrap, because it does not mean anything to me.
I want to be able to go to the true home/end of a line, often to add a new line after or before it with the same indentation.
Most text editors implement this by going to the true line start/end by pressing “home” or “end” when already on the start/end of the wrap.
What I usually want to do is go to the start or end of the soft-wrap, so current behaviour suits me. Just a quicker way of navigating on screen edits.
Agree a ‘real’ line option would be useful, so agree mcleary’s suggestion.
Well these doesn’t really make sense in the context of existing mnemonics : Shift+“a moving key” (arrows, home, end, pg up & down) selects the text. What could make sense would be just Alt+Home/End.
But it’s not the standard solution, which is simply to press Home/End when at the wrap.
I just noticed that Visual Studio code has the following behaviour
Press End once to go to the end of the soft wrap, press End again to go to the real end of the line. I think this could be a good solution for this as well.