3 ms·
Yeah, I use that and I agree that it's useful. I just want a simpler way to select successive lines.
by msluyter 14y ago
Yeah, I use that and I agree that it's useful. I just want a simpler way to select successive lines.
- lihaoyi 14y agowhat'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!
- msluyter 14y agoa) 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.
- miahi 14y agoThere 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.
- msluyter 14y agoHmm... 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.
- __david__ 14y ago> 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.