GithubHelp home page GithubHelp logo

joethei / obsidian-key-promoter Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 1.0 41 KB

Learn keyboard shortcuts by showing them when using the mouse

License: MIT License

TypeScript 94.39% JavaScript 5.61%
obsidian-plugin obsidian obsidian-md

obsidian-key-promoter's Issues

FR: Don't show more than a few keys?

I don't know if I phrased this right, but when I open settings I get something like this:
image

I do want to be told when there is no hotkey but I don't need to get a trillion at once when settings is opened :(

Keep notifications open when hovering

Hi, I have a quick feature request: keep the popup notifications open longer than the allotted time when we hover the mouse on them.

Side note: is there a hotkey to enable/disable key promoter?

Statistics

  • count the number of missed hotkey hits
  • (count the number of successful hotkey hits)

does not capture all buttons

Switch between edit and preview

  • Hotkey: Toggle edit/preview
  • Label: Preview or Edit

Buttons that don't have an aria label

  • split vertically/horizontally

Bug: After latest update crash my templater hotkey event

How I'm using templater:
I have template which wrap my text into tag with tp.file.selection() and tp.file.cursor(0).
This template assigned to the hotkey through native templater settings.

After update of key-promoter I faced with issue:
when I select text and use hotkey it broke my line and sent error to the console:

Uncaught TypeError: Cannot read property 'id' of undefinedUncaught TypeError: Cannot read property 'id' of undefined
    at t.eval (eval at <anonymous> (app.js:1), <anonymous>:285:83)
    at t.check (eval at <anonymous> (app.js:1), <anonymous>:176:53)
    at t.wrapper (eval at <anonymous> (app.js:1), <anonymous>:155:24)
    at t.eval (eval at <anonymous> (app.js:1), <anonymous>:74:11598)
    at t.o [as executeCommandById] (eval at <anonymous> (app.js:1), <anonymous>:23:77225)
    at t.onTrigger (app.js:1)
    at t.handleKey (app.js:1)
    at t.onKeyEvent (app.js:1)
eval @ main.ts:30
check @ index.js:41
wrapper @ index.js:20
eval @ VM430:74
o @ VM430:23
t.onTrigger @ app.js:1
t.handleKey @ app.js:1
t.onKeyEvent @ app.js:1

image

After Disabling key-promoter or with using command through command pallete all is working good.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.