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.

Pure Python Vim clone

255 pointsby efbbbfabout 10 years ago

17 comments

ameliusabout 10 years ago
Why not decouple the following things:<p>- Core editor (internal representation, etc.)<p>- Key bindings (so you could easily create an emacs instead of a vi)<p>- Rendering<p>- Scripting language (for customized behavior)<p>Finally, make sure you thoroughly document these building blocks, so others can create really cool stuff with it. Also, think of possible use-cases when defining the modules. A smart architecture could allow for a collaborative editor, for example.
评论 #9443186 未加载
评论 #9443233 未加载
evmarabout 10 years ago
My thought process upon seeing this:<p>&quot;Python, huh? Seems like typos in uncommon branches of the code would cause it to randomly fail at runtime, losing your work!&quot;<p>&quot;Now evmar, don&#x27;t be such a internet nay-sayer, plenty of people write reliable Python code. You just need tests and... yep, there&#x27;s a tests directory right there in the repository.&quot;<p>&quot;Let&#x27;s take a look. ...there&#x27;s only one test!?&quot;<p>It looks pretty neat other than that, though.
评论 #9442409 未加载
评论 #9442579 未加载
评论 #9443878 未加载
评论 #9443651 未加载
评论 #9442818 未加载
marktangotangoabout 10 years ago
Fyi there&#x27;s a similar project here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;stefanoborini&#x2F;vai" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stefanoborini&#x2F;vai</a>
kgadekabout 10 years ago
<p><pre><code> Q: Why Python? A: The only alternative would be Haskell, but I still have to learn that. </code></pre> Wow, that would be interesting.
评论 #9442437 未加载
评论 #9442486 未加载
esbioabout 10 years ago
Here is vai <a href="https:&#x2F;&#x2F;github.com&#x2F;stefanoborini&#x2F;vai" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stefanoborini&#x2F;vai</a> , a similar project I started a year and a half ago.
marco2357about 10 years ago
There&#x27;s a Java version of Vim here: <a href="https:&#x2F;&#x2F;www.mtsystems.ch&#x2F;#section2" rel="nofollow">https:&#x2F;&#x2F;www.mtsystems.ch&#x2F;#section2</a><p>It&#x27;s an automatic translation of the C version.<p>Like tomp said 4 hours ago: Like vim, just slower.™
评论 #9443382 未加载
tompabout 10 years ago
<i>Like vim, just slower.</i>™
评论 #9442238 未加载
评论 #9443355 未加载
krickabout 10 years ago
So is it vi clone on vim clone, exactly? I just noticed some usual things are not working (ZQ, for example), but I don&#x27;t remember, maybe it&#x27;s supposed to be that way in vi.
rchabout 10 years ago
This looks great - very hackable. I think I&#x27;d like to try adding support for HDF5 files via h5py.
mkonecnyabout 10 years ago
Was this more of a blackbox re-implementation, or is more of a 1:1 code port?
评论 #9442354 未加载
Yadiabout 10 years ago
This is awesome, I just tested it out :)! It would be cool to have the possibility creating the extensions in future.
chestervonwinchabout 10 years ago
Tried it on OS X. Everything blinks - as in blink-tag blinks. Not sure what&#x27;s going on with that...
评论 #9442615 未加载
rhapsodyvabout 10 years ago
Is there any vim clone that actually have full support to vimfiles?
评论 #9443589 未加载
andorabout 10 years ago
This is really nice. Does anybody know whether there&#x27;s a comparable (real time, asynchronous, highlighting symbols not lines) syntax checker for neovim?
yoanizerabout 10 years ago
Hello, I have a question, what made you want to start this project? What do you not like about main branch vim?
morekozhambuabout 10 years ago
awesome !!<p>Does it work with unicode Indic characters?
评论 #9442113 未加载
eivarvabout 10 years ago
Very cool!