On Editors as tools
Over the years, I've experimented with various editors. Outside of being technical marvels and great pieces of software, they have played large part in developing the workflow and mindset I have today. I think there's something to learn in the experience for all of them.
Table of contents
- Notepad (and Notepad++)
- Eclipse
- Brackets (and Atom)
- VS Code
- Vim (and Neovim)
- Zed
- Honorable Mentions
- Thoughts
Notepad (and Notepad++)
In the beginning there was Notepad. It was on every (Windows) machine by default. It opened every type of file whether it was supported or not.
It was my first introduction into source code, downloading Bloons TD5 tweak/crack/hack for every iOS jailbreak I had available to me.
A truly GOATED series by the way. I’ve since spent way too much actual money on this game) highly recommend checking it out if you enjoy tower defense types. Still not sure if I ever outgrew the script kiddie phase.
Notepad was/is great, and Notepad++ is even better when I’m editing game files on Windows.
These days, I’m not on windows all too often. So let’s see what else is out there.
Eclipse
We used Eclipse to write Java and move robots on the screen in my first programming course in school. That was it. I hated most it, but it was fine for the course.
After that, I wanted to find something faster, more user-friendly, and versatile options when I started web development. This was an interesting time.
Brackets (and Atom)
First there was Atom, the “hackable” editor. VSCode’s predecessor.
It was nice. Very fast and clean. “Hackable” was very true, but I was too early to appreciate it.
So I found Brackets, which was the one editor with the cleanest implementation of Live Preview. This one let me make changes and see them live without having to open the browser. Big fan. I only left because of a little name you might be familiar with:
VS Code
Open-Source, cross-platform, extensions galore. One editor for every language on every device. I was a dream. I got over the LivePreview bug when I started writing more app-like experiences and less websites, also hot-reloading was a thing.
VS Code helped me launch a career. It was great until I got into more complicated projects, “managing” infrastructure, and starting my homelab.
While there was an extension for everything, you never knew if it was going to blow up in 10 minutes, so I didn’t bother after a while. You see, I don’t need my editor to tell me my code is shit. I already knew that working in it every day.
Something about tsserver + eslint + vscode would just eat all the hardware I have on larger projects. I started a whole homelab to get around this. I explored VSCode over remote desktop protocols, ssh X11 forwarding, docker container “workspaces” and all. Not for me.
As I explored how to get VS code to run better, my workflow used it less and less. I found myself using vim on the servers where I would run vscode-server
.
Can you tell where we’re headed yet? Alright, cool we’ll just skim over this last bit.
I still use VS Code today. Certain projects, specific extensions, pairing. It has it’s purpose, it’s own perks, and drawbacks.
However, I found myself wanting to combine the terminal and the editor. I was already in the terminal for most of my work anyway, why not edit text in there too? So, I eventually came across…
Vim (and Neovim)
Vim. Ah, Neovim. The home for the last few years. My everything editor and “personal development environment” (credit to @teej_dv).
Customizable to the core. It handles every language I’ve come across. There’s a extension plugin for everything, and if not, I feel confident enough to make a basic version. It’s helped me learn new languages and explore different way to write code. It fits like little puzzle piece in my workflow surrounded by tmux.
Ever since Vim, every editor has to have Vim bindings. It’s the fastest way for me to write. I’m writing this in nvim (and Zed, but we’ll get there).
I write notes, designs, docs, code, planning, everything I can in nvim or another editor with bindings (Obsidian, VSCode, Zed) for a specific purpose.
nvim
is the default and it works well for the tinkerer in me.
Plus, every time some editor gets a cool feature, someone in the community is already on it. Great stuff.
Even so, I’m still testing, tweaking, and exploring. Recently, someone’s been making more and more news in my algos.
Zed
Zed is kinda this new kid on the block and I’m a big fan. They’ve been doing some great things over the last year+ I’ve been watching. I tried it when it first came out and was immediately impressed, like I am with most things. But this was different. Like switching from from Backets -> VSCode -> nvim different.
It’s fast and doesn’t need many plugins. Set the vim bindings and go, it just works. It’s been a bit funky on linux, but that’s expected. Initial impressions is that it’s going to replace VSCode in those specific instances and may even replace nvim if I get faster with it or my workflow changes. It’s doing everything right.
- Fast startup/close
- Amazing vim bindings
- LSP support / Syntax highlighting
More of Zed’s standout features include:
- Collaborative editing: google docs for code (haven’t tried, really want to)
- Workspaces: could be a tmux replacement for me
- ZedAI: AI integration is pretty smooth
I’m loving Zed. There’s a few things, like this slow cursor. But I’m not sure if that’s just me yet.
Everything else is pretty impressive, especially when working with multiple larger codebases. Vim bindings are GOOD and they feel natural and well-integrated. It still feels like the early days, but I’ll definitely keep watch here.
Honorable Mentions
Neovim’s been the goto for years now, but I’ve come aross a few interesting attempts as well:
Sublime Text
- STUPID fast
- Very clean, minimal, focus
- Search and replace is a godsend
- Smooth plugin ecosystem too
If I had discovered Sublime Text earlier in my journey, I might never have left. It’s honestly an inspiring piece of software.
Helix
- modal editing and vim motions but flipped?
- LSP and Syntax highlighting OOTB
- TUI interface
A bit different, but I saw no advantages over the current nvim config and the motions don’t transfer really. It actually helped me learn more motions though so that’s a plus.
Never Used
- Emacs - I heard it’s a great OS looking for a text editor. Got nvim-pilled first, never gave a real shot
- Jetbrains Suite - Heard great things, I’m not paying a subscription tho.
Thoughts
Most editors are pretty good. Eclipse was/is hell, but even it served its purpose. Use what works. Switch things up if you need to. Stay curious.
I (and maybe you) often get caught up in the “best tool” debate, but who cares?
In a past life I asked an old mentor, “what’s your favorite brand; Milwaukee, DeWault, Craftsman, …”
“The one that works”
The best editor tool is the one that helps you solve real people’s real problems. Whatever it is, has its strengths and quirks. Embrace the learning curve, customize your environment, and have fun with it. Just don’t get lost.
Who knows? I might even try out Emacs next. I already can’t use my pinky.