Skip to content

Reverse Order #536

@faustobranco

Description

@faustobranco

Is there any way to have the history in chronological order or to choose which order it is presented in?
Use

HSTR_CONFIG=hicolor,raw-history-view,help-on-opposite-side,duplicates hstr

And I always need to copy the content and reorganize it, it doesn't make much sense to have an arrangement that goes against the order of events.

Example:

$ history | grep -i lazy

5139  git clone https://github.com/LazyVim/starter ~/.config/nvim
8459  brew install lazygit
8460  lazygit
8466  lazygit
8533  history| grep lazy
8535  history | grep lazy -s
8536  history | grep lazy -i
8538  history | grep lazy -i
8540  history | grep lazy -i



$ HSTR_CONFIG=hicolor,raw-history-view,help-on-opposite-side,duplicates hstr lazy

history | grep lazy -i
history | grep lazy -i
history | grep lazy -i
history | grep lazy -s
history| grep lazy
lazygit
lazygit
brew install lazygit
git clone https://github.com/LazyVim/starter ~/.config/nvim```

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