TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Tome, aka Tom's Editor – a new command-line text editor

131 pointsby boutellover 1 year ago

22 comments

danielvaughnover 1 year ago
Honestly I really want to make one. Mostly because I want to stay in my terminal as much as possible, but I&#x27;m super fast with VSCode&#x27;s keybindings and I can&#x27;t handle the velocity drop during the learning curve.<p>Alternatively, if it&#x27;s possible to emulate VSCode&#x27;s keybindings in an existing editor, I&#x27;d be happy to go that route. I just don&#x27;t know the space very well.
评论 #37615766 未加载
评论 #37617647 未加载
评论 #37615769 未加载
评论 #37618516 未加载
评论 #37616133 未加载
评论 #37616747 未加载
评论 #37615744 未加载
评论 #37617249 未加载
评论 #37628653 未加载
评论 #37619584 未加载
forgotpwd16over 1 year ago
It&#x27;s already pretty nice. Very fast, CUA shortcuts (that are also shown at bottom), indeed very few dependencies. Good work.
评论 #37616934 未加载
ripperdocover 1 year ago
Should run it with bun instead of Node.js for that extra speed!
评论 #37616925 未加载
pepa65over 1 year ago
I just do not knowingly use anything that has to be installed with npm.
hobo_markover 1 year ago
All I want is nano with VSCode keybindings for multiple cursors. Does is exist or do I also have to write my own?
评论 #37618042 未加载
评论 #37618198 未加载
29athrowawayover 1 year ago
Terminal != Command line
worksonmineover 1 year ago
&gt; Written in Node.js with practically no libraries (certainly no Electron)<p>Still V8 though.
评论 #37617911 未加载
kesavaover 1 year ago
That’s awesome! Can someone point me to a similar minimal web&#x2F;editableContent implementation? Would love to learn from it.
评论 #37617007 未加载
评论 #37616334 未加载
Solvencyover 1 year ago
There is already a Tome. <a href="http:&#x2F;&#x2F;tome.app" rel="nofollow noreferrer">http:&#x2F;&#x2F;tome.app</a>
评论 #37619238 未加载
评论 #37621655 未加载
jbrittonover 1 year ago
Does this use a TUI library or does it directly implement the console I&#x2F;O?
评论 #37620108 未加载
rickydrollover 1 year ago
why?? TECO (now TECOC Type Every Character Over Constantly) is perfection as a cli editor<p><a href="https:&#x2F;&#x2F;github.com&#x2F;blakemcbride&#x2F;TECOC">https:&#x2F;&#x2F;github.com&#x2F;blakemcbride&#x2F;TECOC</a><p>seriously. try it.
n3stormover 1 year ago
No screenshot, no joy
评论 #37618672 未加载
uwagarover 1 year ago
in go or rust?
评论 #37616599 未加载
Svipover 1 year ago
Given the description, this sounds more TUI than CLI. Honestly, when I saw the title, I thought it was a competitor to ed(1).
评论 #37617222 未加载
评论 #37619150 未加载
Avshalomover 1 year ago
I know this isn&#x27;t an original nit-pick but a cli editor is like ed, this sounds like a screen editor.
评论 #37615793 未加载
评论 #37616511 未加载
评论 #37615728 未加载
ThouYSover 1 year ago
&quot;written in node.js&quot; - insert squidward packing his chair meme
评论 #37617125 未加载
评论 #37615811 未加载
评论 #37615632 未加载
评论 #37615577 未加载
评论 #37616521 未加载
评论 #37615722 未加载
LispSporks22over 1 year ago
&gt; const tabSpaces = 2;<p>Shots fired.<p>Building your own editor is a fun project for sure. Curious with node whether you can build it into a single executable that you can, for example, conveniently scp around to host:.local&#x2F;bin&#x2F;
评论 #37615892 未加载
评论 #37616303 未加载
评论 #37615720 未加载
thisismyhnaover 1 year ago
Made my own CLI text editor as well this year using rust following this: <a href="https:&#x2F;&#x2F;www.flenker.blog&#x2F;hecto&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.flenker.blog&#x2F;hecto&#x2F;</a><p>Building tools like this is great practice for learning new languages.
评论 #37617164 未加载
评论 #37616059 未加载
评论 #37616052 未加载
jenkstomover 1 year ago
It&#x27;s pretty easy to say &quot;terminal based&quot; or &quot;text mode&quot; instead of CLI, which is misleading. I was expecting an alternative to sed.
评论 #37616842 未加载
lagniappeover 1 year ago
Yes! We need more &quot;because I can&quot; and &quot;because I wanted to&quot; in this. More art, less ... idk what to say here ... less formality. Some of the most fun projects I&#x27;ve done were ones that I knew already existed but I just had to -know- what it&#x27;d be like to write one.<p>Good work Tom :) I&#x27;ll give it a shot BECAUSE I CAN!
评论 #37616457 未加载
tuatoruover 1 year ago
&gt; Maybe should be THE (Tom&#x27;s Hubristic Editor).<p>A TUI editor called THE already exists: The Hessling Editor, a work-alike of xedit.<p>1. <a href="https:&#x2F;&#x2F;hessling-editor.sourceforge.net&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;hessling-editor.sourceforge.net&#x2F;</a>
评论 #37616460 未加载
hackncheeseover 1 year ago
The THE lul