Skip to content

feat: using $EDITOR/$PAGER to handle user input and display the data value of a document #9

Description

@yunfan

1, its a convention for *nix CLI application to reuse the enviroment $EDITOR or $PAGER, which point to a specific user prefered cli editor to handle input and display thing

2, for user input, now we had a filter input that could accept user's input for filtering in the selected collection, and show the result
but the editing UI is just plain text input, its obviously that if $EDITOR were supported, user could use any CLI editor they prefered, like vim/emacs/helix, so they got syntax highlighting , format check and many other features that help the input

3, for viewing the data value of a document, currently its also just plain text view like a simply less command, but actually if $PAGER were supported, user could also use vim/emacs/helix to got many feature they like to improve the viewing experiences
like jump to specific line, skip a whole member of a group. etc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions