NewsWorld
PredictionsDigestsScorecardTimelinesArticles
NewsWorld
HomePredictionsDigestsScorecardTimelinesArticlesWorldTechnologyPoliticsBusiness
AI-powered predictive news aggregation© 2026 NewsWorld. All rights reserved.
Trending
TrumpFebruaryMilitaryStrikesCampaignProtestsNewsTariffDigestSundayTimelinePartyHealthIranCrisisOnePolicyDespiteLaunchTargetsPublicIranianNuclearDigital
TrumpFebruaryMilitaryStrikesCampaignProtestsNewsTariffDigestSundayTimelinePartyHealthIranCrisisOnePolicyDespiteLaunchTargetsPublicIranianNuclearDigital
All Articles
Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron
Hacker News
Published 1 day ago

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

Hacker News · Feb 21, 2026 · Collected from RSS

Summary

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 cer

Full Article

elecxzy A lightweight, Lisp-free text editor with Emacs keybindings. Lisp非搭載・設定最小限。迷わず書ける、Emacs操作の軽量エディタ。 Warning🚧 Project Status: Pre-release (Alpha) / 開発中(アルファ版) This software is currently in an early alpha stage. Features are under active development, and some functions may be incomplete or unstable. Use with caution. 本ソフトウェアは現在、開発初期のプレリリース(アルファ)版です。すべての機能が完全に動作する状態ではなく、挙動が不安定な場合があります。あらかじめご了承ください。 English | 日本語 English elecxzy is a modern text editor built from the ground up to reconstruct the powerful and beloved Emacs user experience using contemporary web technologies. It is designed for those who value the Emacs workflow but seek a streamlined, lightweight, and efficient environment, allowing you to start coding or writing immediately with the familiar keybindings you've mastered, without the burden of complex configuration. 🚀 Key Features Modern UI & Interface: A contemporary visual design utilizing web technologies, featuring floating minibuffer popups, distraction-free scrollbars, and high-quality typography while preserving core Emacs semantics. Lisp-free & Lightweight: No heavy script engine overhead. Just the essential text editing features you need. Ready-to-Use Defaults: Comes with sensible default settings so you can start coding or writing immediately after installation without tedious configuration. Emacs-inspired Workflow: Familiar keybindings (C-f, C-b, C-n, C-p, C-a, C-e, etc.) and command structures for power users. Flexible Window Management: Support for recursive window splitting (vertical/horizontal) with C-x 2, C-x 3. Adjust sizes with intuitive, Emacs-style commands (C-x ^, C-x }). Major Modes & Syntax Highlighting: Specialized modes for TypeScript, JavaScript, C/C++, Python, Go, Rust, SQL, YAML, and more. Real-time Previews: Instant preview modes for Markdown and HTML to bridge the gap between editing and publishing. Interactive Search & Replace: Powerful isearch (incremental search) and query-replace for fast navigation and editing. High-Performance Buffer Engine: Uses a Piece Table data structure for efficient handling of large files and infinite undo history. Appearance Customization: Adjust colors and fonts (Global or Buffer-local) via simple JSON configuration or M-x commands. Seamless Japanese IME Support: Optimized for smooth Japanese typing with dedicated focus handling. (Toggle with C-\ or C-]) 🛠 Tech Stack Framework: Electron (Node.js) Frontend: React, TypeScript (Custom rendering engine) Styling: Styled-components (CSS-in-JS for clean, component-scoped design) Syntax Highlighting: Highlight.js integrated 📖 Commands For a full list of available commands and keybindings, please refer to: 👉 COMMANDLIST.md 📥 Downloads Binaries for Windows are available on the GitHub Releases page. Source code is currently private. 👉 Download the latest version 日本語 elecxzy は、長年愛されてきた Emacs の強力なユーザー体験を、最新の Web 技術(Electron)を用いてゼロから再構築したテキストエディタです。 Emacs の伝統的なキーバインドやワークフローを最大限に尊重しつつ、現代的な軽快さと使いやすさを両立。煩雑な環境構築に時間を取られることなく、あのお馴染みの操作感ですぐに創作活動を開始できる「スピード」と「シンプルさ」を追求しています。 🚀 主な機能 モダンなUIデザイン: フローティング形式のミニバッファ(ポップアップ)、ステルス・スクロールバー、洗練されたタイポグラフィを採用。Web技術を活用した視認性の高いインターフェースと、Emacs独自の操作体系を共存させています。 Lisp非搭載の軽快さ: 複雑な処理系を持たないため、起動が速く、動作も軽量です。 「即戦力」の初期設定: インストール後、すぐに使い始められるような初期設定を内蔵しており、直後からコーディングや執筆を行うことができます。 Emacs風の操作体系: C-x、M-x、C-s などの慣れ親しんだキーバインドをフルサポート。 柔軟な画面分割とリサイズ: C-x 2 / C-x 3 による再帰的なウィンドウ分割と、C-x ^ / C-x } 等による直感的なサイズ調整。 多様なメジャーモード: TypeScript, JavaScript, C/C++, Python, Go, Rust, SQL, YAML など、多数の言語のシンタックスハイライトに対応。 リアルタイム・プレビュー: Markdown や HTML の書き換えを即座に確認できるプレビューモードを搭載。 対話的な検索と置換: インクリメンタル検索 (isearch) や、一箇所ずつ確認しながら置換できる query-replace。 Piece Tableエンジン: 大容量ファイルも軽快に扱え、高速な履歴管理(Undo/Redo)を可能にするバッファエンジン。 外観・フォントの調整: M-x set-font によるバッファごとのフォント設定や、JSONによる配色カスタマイズが可能。 高精度な日本語IME対応: Webベースエディタの課題であるIMEの挙動を最適化し、ストレスのない入力を実現。(C-\ または C-] でON/OFF切り替え) 🛠 技術スタック フレームワーク: Electron (Node.js) フロントエンド: React, TypeScript スタイリング: Styled-components (CSS-in-JS による堅牢なコンポーネント設計) シンタックスハイライト: Highlight.js 搭載 📖 操作・コマンド一覧 すべてのコマンドとキーバインドの詳細については、以下を参照してください。 👉 COMMANDLIST.md 📥 ダウンロード Windows用のバイナリは、GitHubのリリースページからダウンロード可能です。 (ソースコードは現在非公開です) 👉 最新版をダウンロードする FAQ English Q: Is word wrap (wrapping at the window edge) supported? A: We currently have no plans to support word wrap. Implementing line folding significantly complicates rendering calculations, which would negatively impact elecxzy's core strengths: "extreme lightweightness" and "maintainability." Thank you for your understanding. Q: Horizontal scrolling with my mouse tilt-wheel doesn't work. A: In some environments using mouse utility software (e.g., Logi Options), the horizontal scroll signal (deltaX) may be blocked for unrecognized applications. In such cases, you can horizontally scroll by rotating the wheel while holding the Shift key. Q: The cursor is misaligned when using "MS Gothic" or "MS Mincho" fonts. A: This is caused by the legacy bitmap data embedded in these older fonts conflicting with modern text rendering. To maintain optimal display quality for modern programming fonts, this behavior is by design. Please use the default BIZ UDGothic or other modern monospace fonts. 日本語 Q: 右端で折り返し表示はできないのですか? A: 現時点では対応予定はありません。折り返し処理(Wrap)を組み込むと画面描画の計算が大幅に複雑化し、elecxzyの強みである「動作の軽快さ」や「メンテナンスのしやすさ」に大きな影響を及ぼしてしまうためです。何卒ご了承ください。 Q: マウスのチルトホイールを倒しても水平スクロールが動作しません。 A: 一部のマウスユーティリティソフト(例:Logi Options)がインストールされている環境では、ソフト側が「未知のアプリ」への水平スクロール信号をブロックする場合があります。その場合は、Shiftキーを押しながらホイールを回転させることで、水平方向へスクロールが可能です。 Q: 「MS ゴシック」や「MS 明朝」を使うと、カーソルの位置がずれます。 A: これらのフォントが内蔵する古いビットマップ仕様と、最新の描画エンジンとの相性によるものです。他のモダンフォントの滑らかな描画や合字(リガチャー)を優先しているため、仕様となります。デフォルトの BIZ UDGothic などのご利用を推奨します。 License / ライセンス This software is released under the MIT License. 本ソフトウェアは MITライセンス のもとで公開されています。 Acknowledgements / 謝辞 This application is inspired by the legendary editors GNU Emacs and xyzzy, and was developed from scratch to carry on their spirit: GNU Emacs Copyright (C) 1985-2024 Free Software Foundation, Inc. Created by Richard Stallman xyzzy Copyright (c) 1996-2005 Tetsuya Kamei Copyright (c) 2012-2014 xyzzy Project Special thanks to the original authors for their pioneering work in the editor ecosystem.


Share this story

Read Original at Hacker News

Related Articles

Hacker Newsabout 4 hours ago
We hid backdoors in ~40MB binaries and asked AI + Ghidra to find them

Article URL: https://quesma.com/blog/introducing-binaryaudit/ Comments URL: https://news.ycombinator.com/item?id=47111440 Points: 14 # Comments: 2

Hacker Newsabout 4 hours ago
Man accidentally gains control of 7k robot vacuums

Article URL: https://www.popsci.com/technology/robot-vacuum-army/ Comments URL: https://news.ycombinator.com/item?id=47111400 Points: 16 # Comments: 1

Hacker Newsabout 5 hours ago
Iran students stage first large anti-government protests since deadly crackdown

Article URL: https://www.bbc.com/news/articles/c5yj2kzkrj0o Comments URL: https://news.ycombinator.com/item?id=47111067 Points: 25 # Comments: 4

Hacker Newsabout 5 hours ago
I put New Zealand behind a $1 paywall

Article URL: https://rename.world/ Comments URL: https://news.ycombinator.com/item?id=47111042 Points: 22 # Comments: 4

Hacker Newsabout 5 hours ago
Volatility: The volatile memory forensic extraction framework

Article URL: https://github.com/volatilityfoundation/volatility3 Comments URL: https://news.ycombinator.com/item?id=47110781 Points: 3 # Comments: 0

Hacker Newsabout 6 hours ago
Holo v0.9: A Modern Routing Stack Built in Rust

Article URL: https://github.com/holo-routing/holo/releases/tag/v0.9.0 Comments URL: https://news.ycombinator.com/item?id=47110634 Points: 4 # Comments: 1