I feel like I’d use my file browser if it was easier to get around. ctrp-p like zoxide/fzf would be game changing.

Edit: sry tbh I wasn’t clear… I was asking for a GUI file browser, sry ranger covers my tui needs

spoiler

No electron

  • cakeofhonor@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Are you doing this via rifle? That was how I was doing it in ranger, but with lf you can make custom shell commands directly in the config and assign custom hotkeys to it.

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      7 months ago

      In rc.conf put map f shell -tf $SHELL ~/myscript.sh. When you press f it will launch myscript.sh in a new terminal with the selection as an argument.

      man ranger and check shell command for appropriate flags. For example, skip the -t if your script is in turn going to launch a GUI application.