hpi-swa / sandblocks

A projectional editor for Squeak/Smalltalk.
MIT License
35 stars 3 forks source link

Brainstorming keyboard shortcuts conveniences #76

Open LinqLover opened 2 years ago

LinqLover commented 2 years ago
tom95 commented 2 years ago

What would the expected function be? Select start/end? This function is currently available via PgDown/Up and could be aliased, as the shortcut is still free. PR would be welcome if this is desired functionality :)

LinqLover commented 2 years ago

Either that, or end of the current line/statement block?

tom95 commented 2 years ago

Start/end of statement is already mapped to Home/End. I would actually prefer it to have some concept of line though, I just haven't figured out a good way to make that work (e.g. in long conditional expression you often have a single return statement that's appear to wrap over what would be 4-5 lines in a text editor).

If we figure this out, maybe we could map Cmd+Home/End to statements and just Home/End to lines.