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: vi in your browser - edit files directly from Dropbox, etc

206 pointsby tagxalmost 13 years ago

31 comments

kjhughesalmost 13 years ago
Cool. Emacs fans wanting their fix in the browser can checkout ymacs:<p><a href="http://www.ymacs.org/demo/" rel="nofollow">http://www.ymacs.org/demo/</a>
评论 #4144275 未加载
评论 #4147426 未加载
mmahemoffalmost 13 years ago
Here's what I really, really, want:<p>$('textarea').vim()
评论 #4145825 未加载
评论 #4144749 未加载
评论 #4144813 未加载
tagxalmost 13 years ago
Cloud vi was my side project last week. FYI: I didn't build the editor. I took it from <a href="http://gpl.internetconnection.net/vi/" rel="nofollow">http://gpl.internetconnection.net/vi/</a> but modified it a bit and integrated it with <a href="https://www.filepicker.io" rel="nofollow">https://www.filepicker.io</a> to make it much more useful.
评论 #4144132 未加载
DanBCalmost 13 years ago
Thank you for this. Many people will remember early browsers were also editors; Mosaic and Nexus (or confusingly WorldWideWeb as its earlier name) both had document editing features.
davidandgoliathalmost 13 years ago
Yum. Though the biggest thing I liked about this was learning about the service 'filepicker'. Smart integration.
评论 #4144534 未加载
sbmasseyalmost 13 years ago
Pretty darn nifty, but vim stuff like 'ciw' doesn't work, and also 'C' leaves you in an insert state where your next keystrokes are entered just before the last letter in the line, rather than after the last letter in the line.
评论 #4144201 未加载
评论 #4144183 未加载
udpalmost 13 years ago
Has anyone tried compiling the real vi/vim with Emscripten?
filipncsalmost 13 years ago
Somehow online vi clones never bother with implementing ^[ (does the same as escape), which seriously impairs me.<p>Is this impossible to implement?
评论 #4146139 未加载
评论 #4145706 未加载
s00pcanalmost 13 years ago
I always get confused when I run apps like this and they don't work initially. If you use Vimium, press i when this starts up.
taylorbuleyalmost 13 years ago
This appears to be completely static, which is awesome (no server-side required for oAuth thanks to filepicker.io?)
评论 #4144479 未加载
jlgrecoalmost 13 years ago
Slight issue: counts do not work in combination with insertion commands. (in other words, you can't use 5i to have something inserted 5 times, or for a more useful example you cannot use 5o or 5O)<p>It's an easy to overlook, for a long time BusyBox's vi didn't like combining counts with o/O either.
评论 #4144174 未加载
mmahemoffalmost 13 years ago
Why I can't use this:<p>"This app will have access to your entire Dropbox."<p>Which still happens with pretty much every Dropbox app, despite fine-grained permissions many months ago. Dropbox, love the app, but the company needs a strong developer relations programme to get messages like this out.
评论 #4144684 未加载
robomartinalmost 13 years ago
Sorry to barge into this thread. There seem to be a lot of vi experts reading it. Perhaps you might consider contributing to this thread also:<p><a href="http://news.ycombinator.com/item?id=4145060" rel="nofollow">http://news.ycombinator.com/item?id=4145060</a>
brettcvzalmost 13 years ago
Aah MIT nerds. Pretty cool though - any plans for Github support?
评论 #4143906 未加载
Ivesalmost 13 years ago
Strike this. My bad.<p>(Original: First thing I tried: dG to delete everything, didn't work. So, it still needs improvement. Now, I'll admin I'm not 100% sure if G is a vim command or a vi one.)
评论 #4145209 未加载
评论 #4144026 未加载
jaggederestalmost 13 years ago
Funny story, the early version of Heroku was an in-browser editor, roundabout October '07. They're vim guys - but it didn't feel much like vim.
sunils34almost 13 years ago
Cool! You should add ctrl+c mapping to &#60;ESC&#62;. Thats how I switch out of modes so that I don't move my left hand out of position.
评论 #4144515 未加载
评论 #4144227 未加载
misealmost 13 years ago
Nice!<p>Too much vim in my browser at once. Vimium didn't like interacting with the window, and interpreted my typing with a back-button action.
评论 #4147069 未加载
dsrgurualmost 13 years ago
Implement text objects and Vim-style fFtT (character searches are repeatable via ; and ,) and you'll have me as a user. :)
Omnipresentalmost 13 years ago
This looks really cool. Any plans on sharing/open sourcing the code and going through the process of how you built it?
评论 #4144336 未加载
ganeshtsalmost 13 years ago
Any documentation on the restrictions? Commands like :set nu to display line numbers are not available...
评论 #4143931 未加载
ananddassalmost 13 years ago
Can I embed this as an iframe?
评论 #4144156 未加载
phusionalmost 13 years ago
Nice, I'm not a developer, but I could find myself using this a lot.
maxko87almost 13 years ago
Thomas... don't you have a startup to be working on? :)
ramblexalmost 13 years ago
Pressing tab in insert mode doesn't work for me :(
Producealmost 13 years ago
Finally, I've been waiting for this for ages.
tvladeckalmost 13 years ago
so cool. super awesome as-is. if you add evernote support i will go crazy w/ happiness.
评论 #4144023 未加载
lognalmost 13 years ago
Should you help Uganda?
_cbb1almost 13 years ago
This conflicts with my pentadactyl plugin haha!
modartsalmost 13 years ago
Awesome, it's 1987 all over again.
gcbalmost 13 years ago
Works in Android better than hn's textareas.. /me wonders how can you screw up a text area<p>Only draw back is having to give up Swype for hackers keyboard, thanks to Swype lack of esc key.