TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Firenvim – Turn the browser into a Neovim client

181 点作者 OuterVale5 个月前

13 条评论

jeroenhd5 个月前
The security risks aren&#x27;t worth it for me, which is a shame.<p>In theory someone could take nvim, compile it into WASM, and make a version that&#x27;ll work without interacting with any native binaries (at the cost of some performance and nvim functionality, of course). The only big downside is that you&#x27;d lose the integration with the nvim config in your home directory, but perhaps some kind of filesystem API can help with that.
评论 #42463476 未加载
mastermedo5 个月前
I gave firenvim a shot a few times in the past. The pain points for me were competing shortcuts between extensions (e.g. vimium) and too small realestate in most text area prompts where firenvim activated. I believe the messaging then was that you could just copy paste your nvim config over, and firenvim would use it in the browser. While I think that&#x27;s true, what makes a good config in the terminal is not the same as what makes a good config in small text area prompts on most websites.<p>EDIT: I remembered another issue. I&#x27;m not able to use it at work because my employer doesn&#x27;t allow extensions that access all data on a website.
评论 #42460429 未加载
评论 #42460497 未加载
评论 #42460012 未加载
MantisShrimp905 个月前
This is great for situations where you need to edit code within an app ecosystem that won&#x27;t let you dev locally.<p>My use-case is ServiceNow which forces us into their crappy proprietary editor.<p>But you do need to get good at calibrating which sites get set off by it because as others have said you don&#x27;t want it going off an every little text prompt you get most likely
评论 #42458946 未加载
finnh5 个月前
I&#x27;m a long-time fan of the Wasavi extension for Chrome&#x2F;Firefox&#x2F;Opera, which looks quite similar in terms of user experience. Wasavi is a purely javascript implementation of the vim editing experience, so I believe ends up with a simpler executable model vs launching nvim locally &amp; then bridging to it.<p>It doesn&#x27;t have 100% compatibility with vim - no vimscript, for example - but it covers more than enough of the basic movement commands &amp; mappings to be entirely productive for me. I don&#x27;t know if I would write actual pages of code in it, but I gratefully use it to write long queries in the browser.
评论 #42464421 未加载
yonrg5 个月前
tridactyl has a similar feature. It let&#x27;s you break out the edit-pane content into a real vim&#x2F;gvim editor (default &lt;c-i&gt;). There you have all your vim environment. I use this feature very rarely, e.g. when writing multiple lines in comments and I am in need of the editing power of vim. For simple text input I remain in the browser ui. Getting a vim-editor in all text inputs would be too much for my taste.
评论 #42460345 未加载
评论 #42463478 未加载
eviks5 个月前
GhostText is a similar extension that uses your external text editor, which in some cases (especially for short messages) is a worse UI, but has a huge benefit - you won&#x27;t lose your precious comment data even if all the browser&#x2F;extension&#x2F;editor close&#x2F;crash (with an editor supporting hot exit)!<p>But also for larger text messages you don&#x27;t get constrained by the typically small input text fields<p>In a dreamy ideal world this, of course, would be the kind of basic functionality that any self-respecting OS would offer - in any text input field in any app.
QuadrupleA5 个月前
Another alternative is GhostText, which I like for long-form editing - it syncs your text editor with a field, so you can work in your editor. Supports vim &amp; nvim, Sublime, and a few others.
评论 #42462459 未加载
datagram5 个月前
I used to use a similar extension in Chrome called wasavi, but I got burned once too many times by bugs in extension causing me to lose all of the text I had been writing.
评论 #42469045 未加载
sylware5 个月前
I have to understand something, why would I use a Big Tech gigantic c++ ultra complex software to do what a lean-ish C99+ software independent of Big Tech does?
评论 #42469057 未加载
lemper5 个月前
definitely useful, for me personally, the use case is using it to write on lambda as the obsolescence of the old editor while the new one is still useless for me as the vim emulation is not usable. thanks, mate.
评论 #42458594 未加载
CodeCompost5 个月前
That is awesome! Can&#x27;t wait to try it.
xingwu5 个月前
Does it break things?
skirge5 个月前
edit-server.pl for nvim? Does it work?