mastermedo 9 hours ago

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'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.

EDIT: I remembered another issue. I'm not able to use it at work because my employer doesn't allow extensions that access all data on a website.

  • mb720 3 hours ago

    The extension withExEditor[1] can open the editor of your choice in its own window, optionally with a different editor config file. Your editor writes to a file in /tmp and on each write, the text in the input field or area in your browser is updated with the contents of the file. This is an advantage over Tridactyl, by the way, since in Tridactyl you have to close the editor in order to update the text inside the browser.

    [1]: https://github.com/asamuzaK/withExEditor

  • gchamonlive 3 hours ago

    While the effort for creating an overlay that's painted on top of the original textbox is well intended, a simpler approach would be to open a fixed size window on a fixed position that the user can configure. This way you could set it to your preference and it would work for all kinds of box sizes.

    Or maybe give the option to only fall back to this fixed size, fixed position textbox if the box dimensions are smaller than a predefined size.

MantisShrimp90 8 hours ago

This is great for situations where you need to edit code within an app ecosystem that won't let you dev locally.

My use-case is ServiceNow which forces us into their crappy proprietary editor.

But you do need to get good at calibrating which sites get set off by it because as others have said you don't want it going off an every little text prompt you get most likely

  • barakm 8 hours ago

    Oof. I’m sorry.

    From someone acquired by ServiceNow… I hope your stock options are worth it

jeroenhd 5 hours ago

The security risks aren't worth it for me, which is a shame.

In theory someone could take nvim, compile it into WASM, and make a version that'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'd lose the integration with the nvim config in your home directory, but perhaps some kind of filesystem API can help with that.

yonrg 6 hours ago

tridactyl has a similar feature. It let's you break out the edit-pane content into a real vim/gvim editor (default <c-i>). 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.

eviks 5 hours ago

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't lose your precious comment data even if all the browser/extension/editor close/crash (with an editor supporting hot exit)!

But also for larger text messages you don't get constrained by the typically small input text fields

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.

datagram 5 hours ago

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.

CodeCompost 9 hours ago

That is awesome! Can't wait to try it.

sylware 4 hours ago

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?

xingwu 9 hours ago

Does it break things?

skirge 7 hours ago

edit-server.pl for nvim? Does it work?

lemper 11 hours ago

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.

  • snthpy 9 hours ago

    Are you saying nvim's vim emulation is insufficient for you? What are you missing?

    I've had the same experience with things like vim emulation in vscode but I switched to LazyVim from vim a few months ago and it's been a smooth experience for me.

    • ryansouza 9 hours ago

      I think they mean when using the in-browser editor for lambdas in the AWS console. This will let them get actual vim usability instead of an included vim-mode thats not up to snuff.

      • lemper 9 hours ago

        yea mate, that's correct. when i type things on the new lambda editor then press esc, it actually lost the editor focus not the editing mode to command mode.