"Life is all about sharing. If we are good at something, pass it on." - Mary Berry

My Golang IDE: WezTerm, Helix, and CLI Tools

2024-10-10

It’s has been one year from my last post. Today I would like to show how I use Helix as my Golang IDE, powered by WezTerm and collection of CLI tools.

Open Project

I created a simple fish function to pipe all directories in a specific folder into fzf:

function fo --description 'Fuzzy open directory in Helix'
    if set -q argv[1]
        set searchdir $argv[1]
    else
        set searchdir $HOME
    end

    set -l dir (fd --type d . $searchdir | fzf --height=50% --preview 'eza --tree --level=3 --color=always --icons=always {}')

    if test -z "$dir"
        commandline -f repaint
        return 1
    end

    cd "$dir"
    $EDITOR .
end

Read More...