TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pterosaur: Full power of Vim in each Firefox text field

109 pointsby airnomadabout 10 years ago

15 comments

sinkasapaabout 10 years ago
I&#x27;ve really enjoyed the &quot;It&#x27;s All Text&quot; extension that allows you to use whatever editor you like to edit text fields.<p><a href="https://addons.mozilla.org/en-US/firefox/addon/its-all-text/" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;its-all-text&#x2F;</a>
评论 #9248756 未加载
评论 #9248996 未加载
michaelmroseabout 10 years ago
While awesome in theory, it seems pretty easy in generic pentadactyl to focus a text field, hit ctrl+i, and have an instance of vim where after you :wq the contents of the buffer will be the contents of the text field.<p>Also compared to a real vim window this lags terribly.
评论 #9247705 未加载
评论 #9247726 未加载
评论 #9247703 未加载
roblablaabout 10 years ago
It seems odd this doesn&#x27;t use neovim. Wouldn&#x27;t it be much easier to use neovim rather than raw vim to achieve this kind of result ?
评论 #9248694 未加载
Gonzihabout 10 years ago
Oh my goodness, this is amazing. I&#x27;m writing this comment using pterosaur. I&#x27;m also very happy that it works well with pentadactyl. Great job! Very helpful thing! Before I was using pentadactyl&#x27;s functionality to open input content in an external editor, but this is so much better.
untilHellbannedabout 10 years ago
I don&#x27;t have any substantive other than to say, great job! This looks really cool. I want to check it out!<p>Any chance you&#x27;ll bring it to Chrome?
评论 #9247753 未加载
sagarjauhariabout 10 years ago
At first I thought its just another vim emulation extensions&#x2F;plugins that don&#x27;t really work and are almost useless because you&#x27;re so used to your customizations.<p>But then I noticed it mentioning that it can use my vimrc!<p>Wow! Now you have my attention!
评论 #9247709 未加载
nickysielickiabout 10 years ago
I&#x27;m one of those people that cannot use a browser without vim bindings, so thank you so much for posting this. I&#x27;m going to give it a try.<p>Generally I find that if it&#x27;s just a standard html form, I actually prefer to have it get piped into urxvt because if I don&#x27;t want to post it right away, I can simply &#x27;:w ~&#x2F;aaa&#x27; and come back later without any worries. Can I do that easily with this?<p>I also like whenever I come across someone doing something messy in javascript (that isn&#x27;t being blocked by umatrix), and making me fight them, it&#x27;s nice to just be able to say, &quot;hey, I&#x27;m gonna strip anything I&#x27;ve already typed out of the DOM, give it to me, and I&#x27;ll give it back when you learn to play nice. No jsoup for you.&quot;<p>So yeah. I like how it is for me. Of course, everyone does. <a href="https://xkcd.com/1172/" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1172&#x2F;</a>
评论 #9247803 未加载
wodenokotoabout 10 years ago
I have been looking for better text editing when using iPython&#x2F;juPyter notebooks. This looks like a really cool solution!
评论 #9247608 未加载
TazeTSchnitzelabout 10 years ago
It&#x27;s interesting to me that this uses your native vim installation. I was expecting vim compiled to asm.js!
PebblesHDabout 10 years ago
As someone who cannot understand the attraction of Vim (and emacs) I can only say oh god why... Otherwise, brilliant use of integration between two usually very seperate programs, nice! This is something I wouldn&#x27;t have thought posssible
michaelmroseabout 10 years ago
Its also worth mentioning that its totally broken if you use vim-startify <a href="https://github.com/mhinz/vim-startify" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mhinz&#x2F;vim-startify</a>.
chilicuilabout 10 years ago
it doesn&#x27;t work in FF 27.x, but it&#x27;s a good idea though, integration must be quite good. In the meantime and if integration is not an issue, you could try vim-anywhere which is a more general way to get vim well anywhere =)<p><a href="https://github.com/cknadler/vim-anywhere" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cknadler&#x2F;vim-anywhere</a><p><a href="http://sprunge.us/hiFY" rel="nofollow">http:&#x2F;&#x2F;sprunge.us&#x2F;hiFY</a> (personal revision, posix sh)
评论 #9248579 未加载
Gonzihabout 10 years ago
And plugin is no longer officially maintained :(
skzabout 10 years ago
Is there something like this for emacs?
vpsabout 10 years ago
anyone else noticing the window server process taking up a lot of cpu usage?