Can’t imagine using my system without this.

  • mac@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    What are your primary use cases for Yazi? I’m trying to see if it’ll fit into my workflow.

    I’ve been experimenting with it on my MacBook Pro. When I navigate to a few Go projects I’m working on, syntax highlighting only seems to be available in the file preview. After that, it appears to just open in plain Vi.

    At work, I use Windows and primarily code in C#.

    Is Yazi more geared towards file management?

    • cakeistheanswer@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      3 months ago

      It hooks into nearly every base utility I can’t live without (fzf, jq, helix, ripgrep). If you’re on windows im not sure you’re going to get a ton unless you live in WSL.

      You can pick the editor it’ll open by default, which should be configurable with comparable syntax highlighting. Vi can pretty much look like whatever. I think it’ll default to vscode on windows.

      Im not sure what you’d use it for but manage files, but I would have poked it and probably moved along while I was still on windows.

      Edit: the other benefit you might not see has a lot to do with support of mime types.

      https://www.iana.org/assignments/media-types/media-types.xhtml

      The xdg open protocol will open whatever app is assigned to handle type locally. Which is probably why it defaults to editor.

    • sudo
      link
      fedilink
      arrow-up
      7
      ·
      3 months ago

      Most frequently I use it as an interactive cd. Docs on how

      Saves me a whole lot of ls and cd or tabbing through completions.

    • _hovi_@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I mainly use it inside neovim actually, in place of the built in file manager or a file tree. Also use it if I want to quickly see the image files in a directory (it shows the images in the terminal), or rename a bunch of files. And then rarely for other file related activities as it makes exploring a directory very smooth