Fzf: Is the search algo working right?

Created on 31 Oct 2016  路  3Comments  路  Source: junegunn/fzf

  • Category

    • [ ] fzf binary

    • [ ] fzf-tmux script

    • [ ] Key bindings

    • [ ] Completion

    • [ ] Vim

    • [ ] Neovim

    • [X] Etc.

  • OS

    • [X] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Etc.

  • Shell

    • [ ] bash

    • [X] zsh

    • [ ] fish

Doing a ctrl-r history search
screen

Is it reasonable to find that git command on 10400 instead of the sort on 10392 ?
Just checking, I'll close it out if that is obvious to you, I don't understand the algo well enough.

Thanks!

Most helpful comment

I believe your outcome is expected because the history search by default orders the lines by the number on the left, i.e. how recent the commands were executed.

You can sort the results by pressing ctrl-r a second time, or see here for modifying the default behaviour.

All 3 comments

I believe your outcome is expected because the history search by default orders the lines by the number on the left, i.e. how recent the commands were executed.

You can sort the results by pressing ctrl-r a second time, or see here for modifying the default behaviour.

understood - thank you sir

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jan-warchol picture jan-warchol  路  3Comments

fenuks picture fenuks  路  3Comments

lbeier picture lbeier  路  3Comments

ghost picture ghost  路  3Comments

jberglinds picture jberglinds  路  3Comments