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

Helix as my Golang IDE: powering up with WezTerm and CLI tools

2024-10-10

It’s has been one year from my last post. Today I would like to show you how I use Helix as my Golang IDE.

Regarding the file explorer workaround in the last post, I show you how to use nnn or broot to open a file tree in the sidebar but actually I’m using the PR #5768. The reason is I would like to have a bottom pane for the terminal, and there is no way to just hide it and keep the sidebar (file explorer) and the main pane (helix).

Read More...


Turning Helix into an IDE with the help of WezTerm and CLI tools

2023-08-19

Helix as IDE

This post recaps previous series of posts about Helix.

  1. Running code
  2. Jumping to build errors
  3. Quickly select a command and open it in a new pane
  4. Testing a single function
  5. Git integration
  6. File tree
  7. Creating snippets
  8. How to debug?
  9. Interactive global search
  10. Opening file in GitHub

1. Running code

In my previous post, I shared a method for running code from within Helix by using this PR.

I later discovered another useful trick here. We can use wezterm cli get-text command to extract the filename and line number from the status line:

Read More...