3 ms·
Does it work inside text areas? The article mentions working inside text "fields," but I'm wondering if I can get inside a large text area and have it feel jus
by fexl 17y ago
Does it work inside text areas? The article mentions working inside text "fields," but I'm wondering if I can get inside a large text area and have it feel just like a vim window.
That would be great because then I'd be more inclined to edit certain files through our web interface instead of "cheating" by ssh-ing and using vi there.
- fexl 17y agoOK I'm trying it out myself now. I'm in a text field and it's showing that I'm in "INSERT" mode. Makes sense. Now normally in vi I could press ESC now to exit INSERT mode. So that's what I'll do now. ESC Drat. It doesn't do the ONE THING I care about the most: giving me vi-like edit capability within a text area. I haven't dug around in the documentation yet so please excuse me if I missed something obvious.
- fexl 17y agoOK now I'm going to try the "Texto" plugin instead: https://addons.mozilla.org/en-US/firefox/addon/73747 https://addons.mozilla.org/en-US/firefox/addon/73747
- fexl 17y agoWow, the Texto plugin does exactly what I want! After installing it in Firefox, I told it to use this editor: /usr/bin/gvim Now when I want to edit a text area in vim, I just click the little Texto icon which appears in that text area and up pops a gvim window! Note that I can still edit the text area normally as well. That's what I'm doing in this paragraph. And now in this paragraph I'm editing in gvim again.
- fexl 17y agoAfter more experimentation I find Texto pretty unreliable at grabbing the existing text from a textarea. So it's not solid enough yet for me to rely on.
- fexl 17y agoI finally got patient and took some time to look at the help. When you get into a text field, you just press Ctrl-i and the text comes up in gvim. I tell ya, this guy has gone whole hog with vimperator. I've used vi for 30 years now and even I was a bit daunted at first. I'm still a baby about having the various toolbars showing, so I said: :se go=mTB :mkv So, it looks like I have a trustworthy way to edit text areas using vi.