abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.2k stars 132 forks source link

Add lispy-show-top-level #555

Closed aspiers closed 3 years ago

aspiers commented 3 years ago

Add a new command lispy-show-top-level which shows the first line of the top-level form containing the point in the echo area. This is useful for seeing which top-level form the point is in when the form is long enough that its beginning has scrolled off the top of the screen. The user might not always know which form they're in, e.g. if they jumped into the middle of a long form via a search or some other code navigation technique.

Bind to C-5 outside special mode, and to xS inside special mode. These are just suggested bindings, and can of course be changed if anyone has better ideas.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.05%) to 62.86% when pulling 3f01261c2695e2a9841452989bc1b8b44a485f6c on aspiers:show-top-level into 5c8a59ae7dd3dd342e7c86a8c0acdbd13e2989f3 on abo-abo:master.

abo-abo commented 3 years ago

Thanks, merged with minor revisions:

aspiers commented 3 years ago

Cool thanks, they all sound like great improvements!