Open Bug 85799 Opened 23 years ago Updated 8 months ago

Make textarea control emulate a more functional text editor like vi, emacs, etc.

Categories

(Core :: DOM: Editor, enhancement)

enhancement

Tracking

()

Future

People

(Reporter: anthony, Unassigned)

References

(Blocks 1 open bug)

Details

I'd like to be able to edit text with keybindings like, e.g., vim. We already
have some, e.g., control-U and control-K.

Please go ahead and mark this (distant) `future' ;-)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Future
How about if we were allowed to spawn our own editor ala lynx?  Then I could run
gvim, while someone else runs emacs.  It also allows one to read a text file
from disk into a textarea box without having to do copy/paste (which doesn't
work when copying in gvim)

Philip
reassinging to new owner of form submission
Assignee: rods → alexsavulov
Status: ASSIGNED → NEW
Summary: Would be nice if text editing could emulate more powerfull editors → Would be nice if text editing could emulate more powerfull editors[form sub]
Over to Editor; this seems like enhancements to the plaintext editor.

Bindings for textarea?  You mean like a right-click "edit in gvim" or something
of the sort?  Truly interesting.
Assignee: alexsavulov → kin
Component: Form Submission → Editor: Core
QA Contact: vladimire → sujay
Seems like there's two concepts here:

1) make the standard text editor not suck so much. Right now, it basically
emulates MS Windows Notepad. It'd be cool if it were to have some basic extended
functionality. (Search/replace, etc.) It'd be super-cool if it were able to
emulate emacs, vi, etc.

2) the "spawn another editor" thing, which is a dup of bug #13474 or perhaps bug
#103767


So *this* bug should probably focus on the first of those. Also, suggest
changing summary to: "[RFE] Make textarea control a more functional text editor"
or something like that. Sound reasonable?
Summary: Would be nice if text editing could emulate more powerfull editors[form sub] → [RFE] Make textarea control emulate a more functional text editor like vi, emacs, etc.
Summary: [RFE] Make textarea control emulate a more functional text editor like vi, emacs, etc. → Make textarea control emulate a more functional text editor like vi, emacs, etc.
Really what would be nice is the new spellchecker.  mentioned on /.
Blocks: 263122
QA Contact: sujay → editor
Assignee: kinmoz → nobody
Blocks: useragent
No longer blocks: useragent
Severity: normal → S3

FYI, there is now an add-on called firenvim that does this, though there are security risks since neovim is so powerful and a malicious website or extension can send commands to it. It would be better to provide another way in, such that websites can change content (which vim would see as the "file" changing) but cannot send commands.

You need to log in before you can comment on or make changes to this bug.