4 ms·
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 th
by monsieurbanana 9y ago
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.
- monocasa 9y agoAlso, what happens when you mix the two, ala comments.
- chipperyman573 9y agoIsn't the point of contextual behavior to consider things like that? So it would act differently in comments.
- monocasa 9y agoSo my editor starts applying different keyboard shortcuts as I scroll through the same file? Yeah, I want distinctly none of that.
- richardwhiuk 9y agoThe same shortcut 'move on a bit more than right arrow'
- Piskvorrr 9y agoAnd that's the exact reason there are so many text editors to choose from ;)
- Spivak 9y agoAbsolutely, 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.
- kqr 9y agoNot 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.)