Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by msluyter on Monday February 11, 2013 @08:58AM
(#5200750)
Yeah, I use that and I agree that it's useful. I just want a simpler way to select successive lines.
[ Parent
| on HN ]
Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by lihaoyi on Monday February 11, 2013 @09:48AM
(#5201020)
what's wrong with [Home] [Shift] [Down] [Down] [Down]? (2+n) keystrokes for (n) lines selected is hard to beat
And the skill is transferable to MS Word/Sublime/Google Docs/Notepad/Eclipse/VS/any-other-text-input-everywhere-ever!
Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by msluyter on Monday February 11, 2013 @10:38AM
(#5201280)
a) Not all keyboards have Home/End keys (macbooks for example).
b) Even then, I find it more error prone to reach over for the Home key, hit shift, etc...
c) 2+n is still 1 more than 1+n ([Ctrl] [l] [l] [l]). ;)
It's admittedly a minor thing; I just got really comfortable with Ctrl-l in Sublime. I should probably just get over it.
Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by __david__ on Monday February 11, 2013 @01:22PM
(#5202273)
> a) Not all keyboards have Home/End keys (macbooks for example).
Macbooks all support fn + arrows to do page up/down, home and end.
fn + left = home
fn + end = end
fn + up = page up
fn + down = page down
It seems annoying at first to not have a dedicated key, but after a week my muscle memory started working and I've never noticed it again.
Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by miahi on Monday February 11, 2013 @11:38AM
(#5201635)
There is an editor action to select a line (Select line at caret) in the keymap that doesn't have a default shortcut, but you can define it and use it instead of the first Home+Shift+down. Then you can extend the selection with Shift+down.
Re:IntelliJ IDEA 12 Wins Jolt Award for Coding Tools 2013
by msluyter on Monday February 11, 2013 @12:26PM
(#5201935)
Hmm... I've actually tried this but Shift+down unselects the initial selection. However, selecting a single line is still often pretty useful. I'll mess around some more with the keymappings to see if I can work something out.