1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.25k stars 325 forks source link

Port to WebExtensions #520

Open tecfu opened 7 years ago

tecfu commented 7 years ago

Vimperator (the leading Vim plugin for Firefox) is undergoing an end-of-life transition as the Firefox based XUL-type add on support is ending in that browser.

There's a discussion at Vimperator about porting to the WebExtension API. Since "To a large extent the system is compatible with the extension API supported by Google Chrome and Opera." - https://developer.mozilla.org/en-US/Add-ons/WebExtensions it would seem desirable to unify the existing vim-like addon community into a project using this shared architecture.

It also may be the case that Chrome inevitably forces its own add ons to conform to the WebExtension API.

Regardless, I'm creating this issue to bring attention to the previously mentioned effort. Feel free to join the discussion here.

soroshsabz commented 7 years ago

ITNOA

Hi,

Did you any plan to port or not?

suzumiyasmith commented 7 years ago

Cuz firefox 57 is in Nov., almost all vim plugin in firefox will go down. Wish to see a port.

tmsanrinsha commented 6 years ago

This is result of Extension Compatibility Tester image

aplaice commented 6 years ago

@tmsanrinsha That's a great idea!

I've re-rerun the compatibility test and pasted the text in a gist (FWIW I generated it, by converting the raw html from extensiontest.com into markdown with pandoc.)

aplaice commented 6 years ago

I've made a backwards-incompatible attempt at porting to firefox. It's officially compatible with Firefox according to extensiontest.com (which was pretty straightforward) and some progress has been made at getting cVim's features to actually work.

Many things don't work (in particular hint links). A few abominable hacks were introduced. The whole thing is not very stable. What does work:

I'm releasing this in case it's useful as comparison / a first step for somebody.

Source: https://github.com/aplaice/chromium-vim (firefox branch).

tristan957 commented 6 years ago

@aplaice how is the port going? This is definitely the best vim plugin for any browser. I'm now making the switch to firefox in order to take advantage of 57 :). I eagerly await any port of cvim

aplaice commented 6 years ago

Most of the functionality (including hints) is there now, but it relies on many ugly hacks which I have neither the time nor the javascript ability to fix.

tristan957 commented 6 years ago

Damn well maybe we will see an official port soon