[HN Gopher] Show HN: Vim-like text editor in go. (LSP, TreeSitte...
___________________________________________________________________
Show HN: Vim-like text editor in go. (LSP, TreeSitter, Themes)
Hey! Check out my "toy" text editor which I use as my daily driver.
Features LSP autocomplete, goto definition, hover info Tree-sitter
support Color themes (borrowed from the Helix text editor) Lots
of bugs Macro support Something like Emacs org-mode: Open
test.txt, place the cursor at line 15, and press "Ctrl-C Ctrl-C".
This project was written as a "speed run" -- not for speed in terms
of time, but rather as an exercise to explore the text editor
problem space without overthinking or planning ahead. It's a quick
and "dirty" implementation, so to speak.
https://github.com/firstrow/mcwig
Author : andrew_bbb
Score : 42 points
Date : 2025-06-12 13:32 UTC (9 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| 90s_dev wrote:
| This is incredible! It looks beautiful, with a perfect type of
| minimalism, and supports modern features out of the box. Very
| good job! If I used terminal editors anymore, I would _certainly_
| use this!
| andrew_bbb wrote:
| I appreciate your feedback!
| sdegutis wrote:
| No problem. Glad it made it to the front page quickly like I
| said it would. Now I don't look so dumb :D
| tempfile wrote:
| Looks lovely. Where does it deviate from vim? Evidently it is
| modal. What features make it more effective than vim is?
| lsllc wrote:
| So interesting that you use diffs for undo/redo! Ingenious!
| nickandbro wrote:
| Like the color schemes! I myself am working on an app called
| https://vimgolf.ai to make it easier to learn how to use vim.
| Might copy what you did with copying the color schemes from the
| helix code editor.
| paddy_m wrote:
| That's a lot of code for a toy project, impressive commitment!
|
| How does the VIM family generally handle extensibility?
|
| Do you have any unique takes there?
|
| I use Emacs, and I get how emacs does it (smallish runtime for
| text display and lisp interpreter, everything else in lisp).
___________________________________________________________________
(page generated 2025-06-12 23:00 UTC)