adamsdesk, (edited )
@adamsdesk@fosstodon.org avatar

🚨 Help Wanted 🚨

Can anyone tell me how to make fzf refresh or reload right after a key binding command completes? So you would only press one key binding, not press the desired key binding and then another to reload.

mirekdlugosz,
@mirekdlugosz@fosstodon.org avatar

@adamsdesk

There's a reload command, that you would have to bind to your own shortcut. reload takes command to run as an argument, which in most cases means you have to repeat it (first to seed initial results, then for reloads).
There's an example in man fzf and https://github.com/junegunn/fzf/issues/1750

adamsdesk, (edited )
@adamsdesk@fosstodon.org avatar

@mirekdlugosz I did find this, but not what I believe I'm looking for. I didn't ask the question very well. I want to run a command using a key binding then right after the command completes reload. From what I've read the reload has to be done manually a with separate key binding. Am I'm wrong on how I understand it?

mirekdlugosz,
@mirekdlugosz@fosstodon.org avatar

@adamsdesk

I'm afraid any more details than what docs provide are out of my depth.
But I'm a bit confused by "run a command using a key binding". Are we talking about shell (and which one), or is that done from some other program? Maybe that will help someone else to answer.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Help
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • khanakhh
  • magazineikmin
  • anitta
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • megavids
  • JUstTest
  • All magazines