Skip to content

Code navigation #98

@ajirving

Description

@ajirving

It would be really helpful if some of the standard Emacs functions for navigating code worked in Lean4 mode. Is it possible to make beginning-of_defun (c-m-a), end-of-defun (c-m-e) move to the beginning/end of the current proof? Could backward-up-list (c-m-u) move to the start of the proof of the current subgoal? I know the Lean syntax is very complicated so doing this perfectly might be hard but even something based only on indentation would be helpful.

Do other users have any tips for navigating long proofs in Emacs without these commands? I use them all the time in other language modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions