Some thoughts on leaving IntelliJ for Helix, Lazygit and Kitty.
Back in January, Jetbrains brought out an “AI addon” for $100/year. I bought this around then because the AI talk-talk was just warming up and my coworkers and I were all pretty fired up about it. I did the trial for a week and I noticed a significant improvement in my productivity. Specifically, I noticed that I got “stuck” less. This was because when I was stuck, I could ask the agent to give me some crap, and then I would be upset at the crap it made, and I would find myself in the “Editor” mode rather than “Creator” mode, and I can always make progress in “Editor” mode.
After a month or so of this, the AI started to lose its lustre for me. I was noticing I didn’t especially enjoy fixing typos I would not have made. So I stopped using the big “generate a thing” AI mode. I tried Junie, their “agentic” plugin, once or twice, but each time it seemed to hit an impasse with our large project almost immediately, and would just spin and spin. So I backed down to the “full line completion” setting in IntelliJ. And this I used until about October.
As the year has gone on, I have gone from unimpressed by AI to more of an active hater. I’ve also lost my project configuration a few times this year, a problem that frequently affected my coworkers during the Eclipse era of the early 2010s and nudged me towards NetBeans and then IntelliJ itself. My distaste was growing but I wasn’t quite sure what to do about it. I had a positive sense about Helix but still felt like I didn’t understand it well enough to switch. Then I saw that my coworker Sam has been effectively using Helix as his daily driver for a year or more, stole his configuration, and spent the last two months daily driving it.
The first week, there were a few times I wanted to quit. I decided I would let myself use IntelliJ half the day, but I had to start with Helix. I opened IntelliJ on the Monday by around lunch time. On Tuesday, I opened it around 4 PM because I was just tired and needed to poke around looking at something. I haven’t opened it since then, except to update it a few times and verify a configuration setting for a coworker.
Surprises
Editing in the Small
The first thing I noticed was that editing in the small in Helix is a much nicer affair. I’m not a huge “modal editor” proponent; I haven’t used a vi clone in probably 20 years. The last editor I was deeply involved with was Emacs. But I can see now why the modal people are as loud as they are. If you want to make small edits on this line, Helix is kind of unbeatable. And the deep integration of multiple cursors makes a lot of things that used to be difficult much easier. It’s very easy to select a bunch of lines, remove a few exceptions, and then do the same edits on that line. To get a feel for the kind of neat stuff you can do, you might want to look at Helix Golf—I especially like this example of inverting a dictionary since this is the kind of thing that’s really tedious to do in any other editor.
A funny thing I noticed was how much I was relying on IntelliJ’s refactoring support for basic edits. I usually don’t need to, say, select a whole method, select all instances of varname, and then change varname in IntelliJ, because there is a hotkey for doing a variable rename and I would just use that. (By the way, if you’re using IntelliJ, I strongly recommend the mnemonic keymap, which makes way more sense to me than any of the built-in keymaps).
Unfortunately, with Sam’s setup, I only have rename variable. I don’t have things like extract variable from selection, create method from selection, etc. and I used those a lot. I think this is the kind of thing that might get better with time. But for now, I do it manually, and it’s only slightly annoying.
Repetitive Code is Intolerable
Another surprise. The “whole line completion” mode made me tolerant of egregious piles of code that shouldn’t be permitted to exist. I find it much harder to tolerate this kind of code when I have to write a significant amount of it by hand. This has, at least based on my own non-scientific impressions, lead me to write somewhat cleaner, more abstracted code, simply because I don’t have a little goblin “helping” me generate copy/paste-flavored code that assuredly smells like it needs a refactoring.
IntelliJ is Bad at Python Types
I was surprised to learn that IntelliJ’s Python hinting is based on a homegrown parser, not pyright or anything out in public. This means that the first time I open a Python file I haven’t been in yet, the screen is awash in red squiggles that IntelliJ does not consider to be problems. It seems to benefit from having the issues fixed, in terms of completion accuracy, but it doesn’t seem to care if there are problems.
This surprised me greatly.
Non-integrated Tools are a Mixed Bag
It is a truth universally acknowledged, that a single developer in possession of a good editor, must be in want of a debugger, database interface, file browser and git integration. The IntelliJ user is perpetually on the back foot with the editor and hopes that their gains in the integrated tools leave them ahead overall, and IntelliJ provides more than adequate coverage on these ones specifically as well as many more.
I was deeply surprised to find how much more pleasant using lazygit is for doing git operations. I never fully bought-in on IntelliJ’s git integration, I was always still using the command line for some things. Lazygit has managed to eat up the majority of cases where I would do things by hand as well. The shortcuts are very simple, mostly single-character affairs. It generally absorbs several routine git commands into one; I don’t have to separately switch branches and pull, because it’s passively fetching most of the time. It’s a significant improvement over IntelliJ’s, such that I would actually recommend it to people still using IntelliJ.
Helix does show where lines are changed with respect to the current commit, but there is no integrated support for doing things like showing what it was before or rolling back a change. Lazygit does this pretty easily though.
Debugging is a different story. I expect this to be integrated better with the editor. Helix, for its part, has some sort of early support for “DAP,” the debug adapter protocol, and it will let you click in the margin to make lines a breakpoint. Somewhere in the tool chain it breaks down right now, so you have to basically write breakpoint() in your code where you want a breakpoint, and then you’ll land in the debugger.
There is a default Python debugger, but it’s not very fun to use. I would recommend instead using Pudb, and make sure you customize the colors because the defaults are nigh-unreadable.
Much like lazygit, I find that the speed of getting around with pudb is actually an improvement over IntelliJ, although it’s somewhat uglier and harder to use for more complex scenarios like deeply nested structures. It gets the job done, and it’s pretty good.
As for file browsing, I have been trying out Yazi. I have never been a big “Midnight Commander” guy and when I do use a file manager it’s mostly graphically. This is something I kind of miss from IntelliJ, being able to get a nice overview of a project and also see the code and whatnot, but getting more conversant with Yazi may be a great solution, I just don’t have the time invested yet.
For SQL, since I only use Postgres, I have been using pgcli, which is just kind of a nice improvement on psql. I don’t have the nice SQL integration with the editor that IntelliJ has, but in truth, I have not used that much in the last few years since we have been getting better about pervasively using ORMs instead.
Your Terminal is Your Integrator
Now you have a cool half-dozen tools replacing your IDE. You’re going to want a way to combine them into a sensible environment.
I tried using Zellij for this, because it honestly looks awesome, but it eats a lot of hotkeys that Helix needs. So I kind of gave up on it. I was about to learn more about tmux, but then I read the author of Kitty’s argument against tmux/zellij and it kind of resonated with me. The terminal should be the multiplexer, not a program running inside the terminal, because, as he points out, you’re then parsing everything twice, and that’s how you get errors.
Consequently, I have been trying to learn the hotkeys for Kitty. The nice thing about Kitty is, it’s available on every platform, it has tabs and splits and whatnot, and it works about the same and looks about the same everywhere, so it’s easy to configure once. I don’t need shaders (they are cool though) or the highest possible performance; so I don’t need to use other contenders like ghostty, alacritty, or foot, all of which have some cool stuff and some missing stuff.
Configuration
Apart from stealing Sam’s configuration, which I encourage you to also consider doing, I am not a huge fan of configuring a billion things a billion ways to my liking. Pretty soon you have a big morass of configuration, it’s hard to upgrade to newer versions of things, and it’s a lot to maintain for small benefit.
That said, I think it’s important to spend some time configuring your themes and fonts. I am currently using Berkeley Mono after using Pragmata Pro for about 15 years(!). I do think that these two fonts are worth the money. At work, I have been using the Nord theme and at home, Rosé Pine. If you’re going to spend all day in the terminal, make sure it looks nice, you know? And set up matching themes for Helix etc. Most of these tools are supported by home-manager and Stylix, although I don’t really trust Stylix right now.
And now?
I am pretty content with this setup. I have made myself a little faster at some of the “trivial” coding things that people now are starting to depend on LLMs for, and I have become less complacent about copy-paste stuff. I don’t see a major urge to change back to IntelliJ coming down the line, unless I need to write Java all of a sudden. I believe the Java language server support is still pretty bad in general, but I could be mistaken. I cancelled my auto-renewal. We’ll see if I make it past it without renewing!
Anyway, the experiment has been a positive experience. My 44-year-old brain still has a little suppleness in it, somewhere!