For vim mode.

This commit is contained in:
vorotamoroz 2022-07-08 19:09:14 +09:00
parent a546198830
commit 1e8c7877f2
4 changed files with 7 additions and 4 deletions

View file

@ -104,6 +104,9 @@ export default class NinjaCursorPlugin extends Plugin {
this.registerDomEvent(window, "keydown", (ev) => {
moveCursor();
});
this.registerDomEvent(window, "keyup", (ev) => {
moveCursor();
});
this.registerDomEvent(window, "mousedown", () => {
moveCursor();
});

View file

@ -1,7 +1,7 @@
{
"id": "ninja-cursor",
"name": "Ninja Cursor",
"version": "0.0.2",
"version": "0.0.3",
"minAppVersion": "0.12.0",
"description": "The plugin which enhance cursor visiblity.",
"author": "vorotamoroz",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "ninja-cursor",
"version": "0.0.2",
"version": "0.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ninja-cursor",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",

View file

@ -1,6 +1,6 @@
{
"name": "ninja-cursor",
"version": "0.0.2",
"version": "0.0.3",
"description": "The plugin which enhance cursor visiblity.",
"main": "main.js",
"scripts": {