Skip to content

Commit

Permalink
For vim mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtmrz committed Jul 8, 2022
1 parent a546198 commit 1e8c787
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 1e8c787

Please sign in to comment.