Skip to content

Commit

Permalink
fix: fix broken *toggle* and *restart* commands
Browse files Browse the repository at this point in the history
docs: replace *vb4c* with *vimch*
  • Loading branch information
b-coimbra committed May 21, 2022
1 parent 824a2b8 commit ba45d10
Show file tree
Hide file tree
Showing 11 changed files with 1,439 additions and 1,457 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/node_modules/
release/
release.zip
.log/
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# vb4c Changelog
# vimch Changelog

## 0.0.3 - 21 May 2022
- Fix white iframe background popup for pages with color schemes (diff [#824a2b8](https://github.com/b-coimbra/vimch/commit/824a2b862638cc4f528c746e26138aff88b07e2c)).

## 0.0.2 - 13 March 2020
- Fix command bar focus issue (Thanks @tinywrkb and @basyura)
Expand Down
32 changes: 4 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,9 @@
# vb4c
# vimch

# Project Status

Hello, thanks for checking out vb4c! Unfortunately I have made the decision to **archive** this project. My personal interests and professional work have lead me to focus on vastly different things than old javascript code and I do not have the bandwidth to maintain this project. This project is MIT licensed - please feel free to fork and do with it as you wish.

For more information about this decision, please see [this comment](https://github.com/dcchambers/vb4c/issues/23#issuecomment-810694017).

The application will continue to work for a while but as the Chrome developers continue to update Chrome, there may be more bugs and eventually things may break. The *good news* is that the [cVim project](https://github.com/1995eaton/chromium-vim), which this was originally forked from, was [updated in March](https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh) to fix a major issue that was breaking the application.

- Install the cVim extension [here](https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh).
- There are also a number of other great options:
- [Surfingkeys](https://github.com/brookhong/Surfingkeys)
- [vimium](https://github.com/philc/vimium/)

**Archived on 4/14/2021.**

---

vb4c - vim bindings for chrome. This is a fork of
[cVim](https://github.com/1995eaton/chromium-vim)

![](icons/vb4c-promo-title.png)
vimch - Vim Bindings for Chromium. This is a fork of [cVim](https://github.com/1995eaton/chromium-vim) (discontinued) and [vb4c](https://github.com/dcchambers/vb4c) (archived).

# Install
- vb4c is a **Chrome Extension** and can be installed from the [Chrome Web
Store.](https://chrome.google.com/webstore/search/vb4c?hl=en)
- This is a brand new release and it is currently pending review from Google.
I will update the link here once it is available!
- In the mean time you can manually install the extension from the
- Manually install the extension from the
[releases](https://github.com/dcchambers/vb4c/releases) page on GitHub.
- Download the `.zip` file, extract it, and then manually load the
extension in chrome.
Expand Down Expand Up @@ -518,7 +494,7 @@ let completionengines = ['google', 'google-image', 'youtube'] " Show only these

# Contributing

## Build vb4c
## Build vimch

1. Run `npm install` in the repository's root folder
2. Run `make`
Expand Down
4 changes: 2 additions & 2 deletions background_scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ var Listeners = {
commands: {
onCommand: function(command) {
switch (command) {
case 'togglecVim':
case 'toggleExtension':
Popup.toggleEnabled({});
break;
case 'toggleBlacklisted':
Expand Down Expand Up @@ -194,7 +194,7 @@ var Listeners = {
case 'newTab':
chrome.tabs.create({url: chrome.runtime.getURL('pages/blank.html')});
break;
case 'restartcVim':
case 'restartExtension':
chrome.runtime.reload();
break;
default:
Expand Down
14 changes: 7 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 2,
"name": "vb4c",
"version": "0.0.2",
"description": "vb4c: Vim Bindings For Chrome. A fork of cVim.",
"name": "vimch",
"version": "0.0.3",
"description": "vimch: Vim Bindings For Chromium. A fork of cVim.",
"icons": {
"128": "icons/128.png",
"48": "icons/48.png",
Expand All @@ -16,8 +16,8 @@
"previousTab": {
"description": "Go to the previous tab"
},
"togglevb4c": {
"description": "Toggle the enabled state of vb4c"
"toggleExtension": {
"description": "Toggle the enabled state of the extension"
},
"toggleBlacklisted": {
"description": "Toggle the blacklist for the domain in the current tab"
Expand All @@ -37,7 +37,7 @@
"newTab": {
"description": "Open a new tab to a blank page"
},
"restartvb4c": {
"restartExtension": {
"description": "Restart the background scripts (pages will need a refresh)"
},
"viewSource": {
Expand All @@ -49,7 +49,7 @@
"19": "icons/disabled.png",
"38": "icons/disabled-38.png"
},
"default_title": "vb4c",
"default_title": "vimch",
"default_popup": "pages/popup.html"
},
"author": "Dakota Chambers",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "vb4c",
"author": "Jake Eaton <1995eaton@gmail.com> (Original), Dakota Chambers <dakotachambers@gmail.com",
"description": "vb4c - Vim bindings for Chrome.",
"name": "vimch",
"author": "Jake Eaton <1995eaton@gmail.com> (Original), Dakota Chambers <dakotachambers@gmail.com, Bruno Coimbra <mail@metaphoric.dev>",
"description": "vimch - Vim bindings for Chromium.",
"repository": {
"type": "git",
"url": "https://github.com/dcchambers/vb4c"
"url": "https://github.com/b-coimbra/vimch"
},
"private": true,
"devDependencies": {
Expand Down
8 changes: 6 additions & 2 deletions pages/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
<script src="../content_scripts/scroll.js"></script>
<script src="../content_scripts/search.js"></script>
<script src="../content_scripts/frames.js"></script>
<script src="../content_scripts/messenger.js"></script></head><h1>vb4c Changelog</h1>
<script src="../content_scripts/messenger.js"></script></head><h1>vimch Changelog</h1>
<h2>0.0.3 - 21 May 2022</h2>
<ul>
<li>Fix white iframe background popup for pages with color schemes (diff <a href="https://github.com/b-coimbra/vimch/commit/824a2b862638cc4f528c746e26138aff88b07e2c">#824a2b8</a>).</li>
</ul>
<h2>0.0.2 - 13 March 2020</h2>
<ul>
<li>Fix command bar focus issue (Thanks @tinywrkb and @basyura)</li>
Expand Down Expand Up @@ -379,4 +383,4 @@ <h2>1.2.43</h2>
<li>Minor bugfixes</li>
<li>Fixed conflicting CSS styles</li>
</ul>
</html>
</html>
Loading

0 comments on commit ba45d10

Please sign in to comment.