Skip to content

Reload with pre-selected items #4409

Open
@sheluchin

Description

@sheluchin

I am trying to create a binding that reloads the list and pre-selects items in the updated list. I looked at #4396 and tried to do something like:

echo -e "1\n2\n3" | fzf --sync --multi --bind 'ctrl-a:reload-sync(echo -e 9\\n8)+pos(1)+select'

but the result is that the selection happens on the initial list, then the list gets updated with no selection.

I tried some other variations of my command but could not get it to work how I wanted.

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