Re:What's the deal with Ctrl+Left and Ctrl+Right?
by m12k on Wednesday August 16, 2017 @10:15AM
(#15027608)
Really? On Mac I've found it very consistent that alt+left/right jumps forward/back one word, alt+up/down jumps to start/end of paragraph, cmd+left/right jumps to end of line, cmd+up/down goes to beginning or end of all text (like Home/End). This is the case for me in Sublime, RubyMine, Xcode, Firefox, Chrome and any other app I've used in recent years - which apps are you using that don't follow these conventions?
[ Parent
| on HN ]
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by colanderman on Wednesday August 16, 2017 @10:27AM
(#15027701)
In Chrome on OS X it differs whether I'm casting my screen or not, whether Ctrl+←/→ move me to the start/end of a line or document. (I can't figure out how to move to the end of a line while Chromecasting. It is beyond frustrating.)
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by tlb on Wednesday August 16, 2017 @11:59AM
(#15028526)
^e for end-of-line, ^a for beginning-of-line. ^p for previous-line, ^n for next-line. All far more ergonomic than arrow keys.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by seanp2k2 on Wednesday August 16, 2017 @03:38PM
(#15030522)
http://www.bigsmoke.us/readline/shortcuts they're just GNU Readline shortcuts of copies of those :)
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by seanp2k2 on Wednesday August 16, 2017 @03:39PM
(#15030529)
Esp when you remap caps lock to control as the Lord intended it to be.
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by afarrell on Wednesday August 16, 2017 @10:47AM
(#15027857)
iTerm2 doesn't
EDIT: Unless you do this: https://apple.stackexchange.com/questions/136928/using-alt-c...
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by egwynn on Wednesday August 16, 2017 @10:57AM
(#15027927)
Terminals are, generally, expected to behave like terminals, which brings along a host of legacy compatibility things about how keyboards used to work over the past 40 years. Not saying that’s an excuse, or that they shouldn’t try to, but balancing “sane modern defaults” vs “sane-ish defaults from the 70s that everyone’s used to now” is hard.
EDIT: To elaborate a little… Terminals pre-date arrow keys, which is partly why there are lots of default “movement” keybindings that don’t use them (ctrl-a, ctrl-e, ctrl-b, ctrl-f, ctrl-n, ctrl-p, etc.).
Re:What's the deal with Ctrl+Left and Ctrl+Right?
by EricLemieux on Wednesday August 16, 2017 @10:28AM
(#15027705)
iterm2, at least that's what it defaulted to for me, uses ctrl + direction instead of alt + direction.