This is a test post written in nvim.
🤔
I used qutebrowser's external editor feature.
It seems to work well. I can activate it again and see the text I already wrote.
Follow

@brad Hearing about this might be enough to get me to dump firefox.

@swiley It’s very cool, but not perfect. By default it will try to launch gvim when you press ctrl-e while in insert mode in a text field. I didn’t have that installed, so I made it instead launch a terminal emulator running nvim. So it hasn’t done anything as fancy as showing nvim inside QB, it just sorta pipes data in from the text box and then out of your external editor of choice back to the text box (which is still quite cool). Thought I’d point this out since some stuff like aerc (mail client) makes vim actually appear inside the program and it looks pretty slick.

Also, it doesn’t seem to work right with YouTube comments. The stuff I write in nvim doesn’t show up in the box. It’s getting stored somewhere, because if I then hit ctrl-e again, it’s still there, but it doesn’t show up. I haven’t hit other stuff it doesn’t work on yet, but there could be stuff out there. You’ll want to do :set editor.command once you’re in qutebrowser to tweak the command. If you put a space after that and tab to the default setting, it’ll fill in the bar and then it’s easier to edit.

I’m still wrapping my head around just how much power this gives you. One cool thing is you could be editing part of a wiki or something, open the text that’s already there in the editor, then select some lines and run :sort. It saves you copy/pasting stuff back and forth. Also being able to make a bunch of stuff lowercase or uppercase at once could be handy.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.