-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to assign a keyboard shortcut or accesskey for adding a todo? #146
Comments
Look here in <DOKUWIKI_BASE>/lib/plugin/todo/action.php . Chose a letter you'd like to use and remove the Automatically generating like with (un)sorted lists will take more effort... |
That's just incredible! thank you!! Thank you ever so much!!! I set it to j for job, had to disable then enable the plugin to get it to activate but now it's perfect!! The auto-generate seems a bit irrelevant and lazy now - I'm so happy with the accesskey shortcut. EDITMay I suggest that this is (set to a free accesskey and) uncommented by default? or perhaps made really prominent in the readme documentation? I just went back to https://www.dokuwiki.org/plugin:todo and can see that it says:
But I wouldn't have figured it out without Einhirn's guidance. |
Apologies,
I just tested it and it works on my set-up ... so I have 2 ways of doing it! |
thks, little + to add current date and user assign: if (typeof window.toolbar !== 'undefined') { |
shall we close this or would a PR be welcome? |
I'm not sure why the docs mention an access key and why there's commented out code for it, but it has to have a reason - probably because there are only so many letters available for access keys and other plugins also need some. Maybe the way to go would be to have an access key manager on dokuwiki level, so you can assign whatever access keys you like to whatever plugins you use - just like Thunderbird and/or Firefox seem to do it now. But that would be out of scope for this particular plugin. I marked this one as a Question and think we should just leave it open for now. |
Hello,
First off thank you. The plugin is a daily staple and essential for me - like millions of others I'm sure.
I'd like to be able to use some sort of short key sequence instead of using the mouse to click on the toolbar button or typing out
<todo> </todo>
when I want to add tasks. I've tried usingentities.local.conf
but not had any success. Could anyone tell me if there's any way to do this please? I posted the same Q, with some probably irrelevant detail, https://forum.dokuwiki.org/d/20579-new-or-custom-accesskey-to-mark-a-todo-task.The other thing is that I often write out lists of todo's. I usually create them as an unordered list. I'd like the
<todo> </todo>
tags to appear on the newline the same way that the list marker asterix is automatically generated. Is that already possible or is there some way I can achieve that please?I should say that I'm not a programmer and though I'd love to test out scripts/ work arounds, I can't do anything but the simplest of cut&paste editing of scripts.
thanks in advance
The text was updated successfully, but these errors were encountered: