Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

Hi HN. I am a programmer from Japan who loves Emacs. I am building elecxzy. It is a free (zero-cost), lightweight, Emacs-like text editor for Windows.I designed it to be comfortable and ready to use immediately, without a custom init.el. Here is a quick overview:- Provides mouse-free operation and classic Emacs keybindings for essential tasks (file I/O, search, split windows, syntax highlighting).- Drops the Lisp execution engine entirely. This keeps startup and operation lightweight.- Solves CJK (Chinese, Japanese, Korean) IME control issues natively on Windows.I never managed to learn Lisp. I just copy-pasted snippets to maintain my init.el. However, I loved the Emacs keybindings. I loved operating an editor entirely without a mouse. I wanted an editor I could just open and use immediately. Also, standard Emacs binaries for Windows often have subtle usability issues for CJK users.So, I thought about whether I could build an Emacs-like text editor using Electron, the same framework as VS Code.Building an editor inside a browser engine required thinking a lot about what NOT to build. To make it feel native, I had to navigate DOM limitations. I learned that intentionally dropping complex features improves rendering speed. For example, I skipped implementing “word wrap.” For syntax highlighting, I did not use a full AST parser. Instead, I used strict “line-by-line” parsing. The highlight colors for multi-line comments are occasionally incorrect, but it is practically unproblematic and keeps the editor fast.Under the hood, to bypass browser limitations and handle large files smoothly, I implemented a virtual rendering (virtual scrolling) system. For text management and Undo/Redo, I use a custom Piece Table. I built a custom KeyResolver for Emacs chords. I also used koffi to call Win32 APIs directly for precise IME control.I respect Windows Notepad as one of the most widely used text editors. However, in my daily work or coding tasks, I often felt it lacked certain features. On the other hand, I found VS Code too heavy just to write a quick memo. Even with extensions, it never quite gave me that native Emacs flow. I do not want to replace Notepad, VS Code, or Emacs. If users want rich extensions and heavy customization, I believe they should use Emacs or VS Code. My goal is to fill the gap between them—to build a “greatest common denominator” editor for people who just want an Emacs-like environment on Windows without the setup.It is still in alpha (so it might not work perfectly), but you can test it on Windows by downloading the zip from the GitHub releases, extracting it, and running elecxzy.exe. For screenshots, basic usage, and keybindings, please check the README on the GitHub project page.I am looking for feedback: Is there a demand for a zero-config, Lisp-free, “Notepad-like” Emacs-style editor? What are the minimum standard features required to make it useful? I would love to hear your technical insights. Comments URL: Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron | Hacker News Points: 4 # Comments: 0

Source: Hacker News: Front Page

Author: kurouna


This post was automatically generated by Omashe AI.

As I was saying, I am really excited about Elecxzy and the potential it has to fill a gap in the market. But let’s get real, we are all here because we are tired of using Notepad or VS Code for simple tasks that Emacs handles with ease. The question is: does Elecxzy offer enough improvements over these editors to make it worth our time? I think it does, but only if you’re willing to overlook a few quirks and limitations. For example, the syntax highlighting for multi-line comments can be a bit wonky at times, but honestly, it’s not a deal-breaker for me. What do others think? Are there any features that would make Elecxzy more appealing to you?