<p>or "How do I answer questions on SO in Firefox using gVim inside the textboxes?"</p>

[{'answer_id': 75664, 'author': 'zigdon', 'author_id': 4913, 'author_profile': 'https://Stackoverflow.com/users/4913', 'pm_score': 2, 'selected': False, 'text': '<p>One way to do this is to use the <a href="http://vimperator.mozdev.org/" rel="nofollow noreferrer">vimperator</a> extension - of course, that does a <em>lot</em> more than what you\'re looking for.</p>\n'}, {'answer_id': 75665, 'author': 'Blair Conrad', 'author_id': 1199, 'author_profile': 'https://Stackoverflow.com/users/1199', 'pm_score': 7, 'selected': True, 'text': '<p><a href="https://addons.mozilla.org/en-US/firefox/addon/4125" rel="noreferrer">It\'s All Text!</a></p>\n\n<p>From the extension page:</p>\n\n<blockquote>\n  <p>At the bottom right corner of any edit\n  box, a little edit button will appear.\n  Click it. If this is the first time\n  you\'ve used "It\'s All Text!" then you\n  will be asked to set your preferences,\n  most importantly the editor.</p>\n  \n  <p>The web page will pop up in your\n  selected editor. When you save it,\n  it\'ll refresh in the web page. Wait\n  for the magic yellow glow that means\n  that the radiation has taken effect!</p>\n</blockquote>\n'}, {'answer_id': 75670, 'author': 'Erik Forsberg', 'author_id': 8675, 'author_profile': 'https://Stackoverflow.com/users/8675', 'pm_score': 2, 'selected': False, 'text': '<p>The "It\'s all Text" extension, perhaps?</p>\n\n<p><a href="http://addons.mozilla.org/en-US/firefox/addon/4125" rel="nofollow noreferrer">http://addons.mozilla.org/en-US/firefox/addon/4125</a></p>\n'}, {'answer_id': 75672, 'author': 'Jason Terk', 'author_id': 12582, 'author_profile': 'https://Stackoverflow.com/users/12582', 'pm_score': 5, 'selected': False, 'text': '<p><a href="http://vimperator.mozdev.org/" rel="noreferrer">Vimperator</a> makes Firefox act very much like VIM:</p>\n\n<blockquote>\n  <p>Vimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. It has similar key bindings, and you could call it a modal web browser, as key bindings differ according to which mode you are in.</p>\n</blockquote>\n\n<p>Once you have the cursor in a text box, hit <kbd>Ctrl</kbd>-<kbd>I</kbd> to open in your editor, which defaults to gvim.</p>\n'}, {'answer_id': 75686, 'author': 'Clinton Dreisbach', 'author_id': 6262, 'author_profile': 'https://Stackoverflow.com/users/6262', 'pm_score': 3, 'selected': False, 'text': '<p><a href="https://addons.mozilla.org/en-US/firefox/addon/4125" rel="noreferrer">It\'s All Text!</a> will let you use whatever editor you want. To use vim with it, you\'ll need a small shell script to open it in a terminal:</p>\n\n<pre><code>#!/bin/sh\nexec xterm -e /usr/bin/vim "$@"\n</code></pre>\n\n<p>If you have GVim, you won\'t need the shell, script, obviously.</p>\n'}, {'answer_id': 75994, 'author': 'erichui', 'author_id': 6034, 'author_profile': 'https://Stackoverflow.com/users/6034', 'pm_score': 3, 'selected': False, 'text': '<p><a href="https://addons.mozilla.org/en-US/firefox/addon/394" rel="nofollow noreferrer">ViewSourceWith</a> is another addon worth lookng at.  It supports more than just edit boxes and text.  For example, you can configure it to open images in the GIMP.</p>\n\n<p>Another feature that I find useful is that it can pop-up a dialog box that shows all the js and css scripts used on the page.  You can then choose to view/edit file in your preferred editor.</p>\n\n<p>For answering questions on SO, you may also want to get the <a href="http://www.vim.org/scripts/script.php?script_id=1242" rel="nofollow noreferrer">Vim Markdown Syntax file</a></p>\n'}, {'answer_id': 89807, 'author': 'Swaroop C H', 'author_id': 4869, 'author_profile': 'https://Stackoverflow.com/users/4869', 'pm_score': 1, 'selected': False, 'text': '<p>You can also use the <a href="https://addons.mozilla.org/en-US/firefox/addon/394" rel="nofollow noreferrer">ViewSourceWith</a> addon to achieve the same. Just right-click on any text input and you can edit it using Vim.</p>\n'}, {'answer_id': 652203, 'author': 'sotto', 'author_id': 45388, 'author_profile': 'https://Stackoverflow.com/users/45388', 'pm_score': 1, 'selected': False, 'text': "<p>As said by others,\nas a Vi/(g)Vim user you'll probably want to look at the Vimperator addon, which also provides the what you ask: \ninside a textbox, hit &lt;C-i&gt; to launch the external editor.\n(can be defined in _vimperatorrc: set editor=gvim -f )</p>\n"}, {'answer_id': 826143, 'author': 'Hamish Downer', 'author_id': 3189, 'author_profile': 'https://Stackoverflow.com/users/3189', 'pm_score': 2, 'selected': False, 'text': '<p>At the time of writing it is experimental, but the <a href="https://addons.mozilla.org/en-US/firefox/addon/8529" rel="nofollow noreferrer">jV extension</a> looks good. To quote from the page:</p>\n\n<p><em>This extension makes all html textareas into a very stripped-down version of Vi[m]. It\'s modal, supports infinite undo, has register support, search, visual mode, and various movement and editing commands.</em></p>\n'}, {'answer_id': 830078, 'author': 'Hamish Downer', 'author_id': 3189, 'author_profile': 'https://Stackoverflow.com/users/3189', 'pm_score': 2, 'selected': False, 'text': '<p>If you use <a href="http://vimperator.mozdev.org/" rel="nofollow noreferrer">vimperator</a> and have the <a href="http://www.vim.org/scripts/script.php?script_id=1242" rel="nofollow noreferrer">markdown syntax file</a> installed, a useful line for your .vimperatorrc is: </p>\n\n<pre><code>au LocationChange .* :set editor="gvim -f"\nau LocationChange stackoverflow\\.com :set editor="gvim -f -c \'set ft=mkd\'"\n</code></pre>\n\n<p>This will tell vim to do syntax highlighting for markdown when you are on stackoverflow.com, but not when you are any other site. There are similar hacks for wikipedia/mediawiki etc. Enjoy :)</p>\n'}, {'answer_id': 831757, 'author': 'Hamish Downer', 'author_id': 3189, 'author_profile': 'https://Stackoverflow.com/users/3189', 'pm_score': 2, 'selected': False, 'text': '<p>There is an experimental way to directly embed the real vim in firefox using <a href="http://people.ksp.sk/~martin/firefox/extensions/EmbeddedEditor/" rel="nofollow noreferrer">embedded editor</a> - though it requires mozplugger and will only work on Linux.</p>\n'}, {'answer_id': 837650, 'author': 'Simon Hartcher', 'author_id': 459159, 'author_profile': 'https://Stackoverflow.com/users/459159', 'pm_score': 2, 'selected': False, 'text': '<p>When using Vimperator in Windows (I am using Vista) you may need to double-escape the path to gvim.exe to use it as the external editor. Single escaping did not work for me as Vimperator unescapes it twice. Eg:</p>\n\n<pre><code>:set editor="C:\\\\\\\\Program\\\\ Files\\\\ (x86)\\\\\\\\Vim\\\\\\\\vim72\\\\\\\\gvim.exe" -f\n</code></pre>\n\n<p>Then while in a text box you use Ctrl+I and it will open gvim for editing. When you save and exit it will update the text box.</p>\n'}, {'answer_id': 2450051, 'author': 'Nick Edwards', 'author_id': 291838, 'author_profile': 'https://Stackoverflow.com/users/291838', 'pm_score': 1, 'selected': False, 'text': '<p>A hint for Mac users: if you want to use "It\'s all text" with vim, the easiest way is to use <a href="http://code.google.com/p/macvim/" rel="nofollow noreferrer">http://code.google.com/p/macvim/</a> . Point "It\'s all text" to the mvim script that\'s provided along with the .app (you can place this script anywhere, I choose /usr/bin/ so that I can load mvim from the command line)</p>\n'}, {'answer_id': 17477562, 'author': 'lydell', 'author_id': 2010616, 'author_profile': 'https://Stackoverflow.com/users/2010616', 'pm_score': 2, 'selected': False, 'text': '<p>Try out the wasavi extension. You might want to check out the all versions page to make sure you try out the latest version. (Copy of <a href="https://superuser.com/questions/527895/edit-text-areas-using-vi-key-bindings-inside-the-textbox-in-firefox-without-o/615678#615678">this answer</a>.)</p>\n'}, {'answer_id': 26480852, 'author': 'pfrenssen', 'author_id': 350644, 'author_profile': 'https://Stackoverflow.com/users/350644', 'pm_score': 1, 'selected': False, 'text': '<p><a href="https://github.com/ardagnir/pterosaur" rel="nofollow">Pterosaur</a> is a Firefox plugin that allows you to use Vim in all input fields. It uses an actual Vim process in the background so it has all the functionality you expect, including reading your .vimrc configuration and your plugins.</p>\n'}, {'answer_id': 48138707, 'author': 'codeDr', 'author_id': 108153, 'author_profile': 'https://Stackoverflow.com/users/108153', 'pm_score': 0, 'selected': False, 'text': '<p>With Firefox-57 on Linux, I installed textern <a href="https://addons.mozilla.org/en-US/firefox/addon/textern/" rel="nofollow noreferrer">https://addons.mozilla.org/en-US/firefox/addon/textern/</a>, and found it to be a suitable replacement for ViewSourceWith for editing text boxes.</p>\n'}, {'answer_id': 50163409, 'author': 'josch', 'author_id': 784669, 'author_profile': 'https://Stackoverflow.com/users/784669', 'pm_score': 4, 'selected': False, 'text': '<p>The current answers don\'t work anymore now that Mozilla removed XUL in favour of WebExtensions. With recent firefox versions, there are the following options (sorted in descending order by the current popularity on addons.mozilla.org).</p>\n\n<p><a href="https://addons.mozilla.org/en-US/firefox/addon/ghosttext/" rel="noreferrer">GhostText</a> provides instant synchronization between editor and textbox via editor-specific plugins. The project is on <a href="https://github.com/GhostText/GhostText" rel="noreferrer">github</a> and the <a href="https://github.com/falstro/ghost-text-vim" rel="noreferrer">vim extension</a> is written in Tcl.</p>\n\n<p><a href="https://addons.mozilla.org/en-US/firefox/addon/withexeditor/" rel="noreferrer">withExEditor</a> is cross-platform but requires a native application written in node.js. In addition to editing text fields it also allows viewing the source of the page, MathML, SVG and the current selection. The project on <a href="https://github.com/asamuzaK/withExEditor" rel="noreferrer">github</a> and the <a href="https://github.com/asamuzaK/withExEditorHost" rel="noreferrer">native node.js application</a></p>\n\n<p><a href="https://addons.mozilla.org/en-US/firefox/addon/textern/" rel="noreferrer">Textern</a> requires a (currently) Linux-only native application written in Python. Synchronizes the content of the text field while you type in the editor. The extension and the native app can be found on <a href="https://github.com/jlebon/textern" rel="noreferrer">github</a></p>\n'}, {'answer_id': 61411545, 'author': 'David Gay', 'author_id': 1196465, 'author_profile': 'https://Stackoverflow.com/users/1196465', 'pm_score': 3, 'selected': False, 'text': '<p><a href="https://addons.mozilla.org/en-US/firefox/addon/tridactyl-vim/" rel="noreferrer">Tridactyl</a> is probably what you\'re looking for nowadays.</p>\n\n<p>It\'s the spiritual successor to the likes of Pentadactyl and Vimperator, which are not available for the current version of Firefox.</p>\n\n<p>If you want something more like It\'s All Text, where the editing area appears right on top of the browser text area rather than launching an editor window, and you\'re willing to use Neovim, check out <a href="https://github.com/glacambre/firenvim" rel="noreferrer">firenvim</a>.</p>\n'}]
['https://Stackoverflow.com/questions/75652', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/13060/']