News for hackers. Stuff that matters.
Re:What's the deal with Ctrl+Left and Ctrl+Right? by monsieurbanana on Wednesday August 16, 2017 @09:52AM (#15027422)
I think I'd prefer consistent behavior. Contextual behavior would be more efficient, but it would also take longer to internalize.

I use ctrl+left/right all the time (well actually ctrl+f/b because I use emacs), and I can't actually tell you where the cursor would stop, but my fingers do... It's become muscle memory. It would take longer for my fingers to understand contextual behavior.

Re:What's the deal with Ctrl+Left and Ctrl+Right? by kqr on Wednesday August 16, 2017 @11:59AM (#15028528)
Not to mention that it's impossible to write a general contextual solution, so in some contexts it would not behave properly. I would rather have a solution that works consistently across all contexts than one that's perfectly contextual in some contexts.

(Also the reason I prefer Vim/Emacs over language-specific IDEs. I like to use the same editor tools for all sorts of writing – and good tools are general enough to work that way.)

Re:What's the deal with Ctrl+Left and Ctrl+Right? by monocasa on Wednesday August 16, 2017 @10:17AM (#15027624)
Also, what happens when you mix the two, ala comments.
Re:What's the deal with Ctrl+Left and Ctrl+Right? by chipperyman573 on Wednesday August 16, 2017 @10:41AM (#15027818)
Isn't the point of contextual behavior to consider things like that? So it would act differently in comments.
Re:What's the deal with Ctrl+Left and Ctrl+Right? by Spivak on Wednesday August 16, 2017 @10:50AM (#15027875)
Absolutely, simple examples would be automatically wrapping comments to 80 characters, adding the comment sigil on the next line when you press enter, enabling spell checking, turning on syntax highlighting if it detects a docstring, changing the semantics for what qualifies as a word, statement, paragraph/block.
Re:What's the deal with Ctrl+Left and Ctrl+Right? by monocasa on Wednesday August 16, 2017 @10:44AM (#15027843)
So my editor starts applying different keyboard shortcuts as I scroll through the same file?

Yeah, I want distinctly none of that.

Re:What's the deal with Ctrl+Left and Ctrl+Right? by Piskvorrr on Wednesday August 16, 2017 @12:01PM (#15028545)
And that's the exact reason there are so many text editors to choose from ;)
Re:What's the deal with Ctrl+Left and Ctrl+Right? by richardwhiuk on Wednesday August 16, 2017 @11:04AM (#15027999)
The same shortcut 'move on a bit more than right arrow'