Comments (7)
There should be one by default. Are you not seeing the bottom hydra bar, like below?
from org-fc.
@natask I'll see if I can come up with something.
The easiest solution would be to show a message
listing all keys each time one of the modes is entered.
One problem with that is that the minor-mode keymaps don't include labels like "Flip" and "Quit",
only the function names (org-fc-review-flip
and org-fc-review-quit
).
How do you like the new header-line showing the review progress?
@Tubo With a recent commit the two hydras have been replaced by two minor modes
and the status line (cards remaining / percent right) has been moved to the header-line of the buffer.
from org-fc.
A quick workaround might look like this:
(defun org-fc-review-flip-mode-hint ()
(message "[RET] Flip [s]uspend [q]uit"))
(defun org-fc-review-rate-mode-hint ()
(message "[a]gain [h]ard [g]ood [e]asy [s]uspend [q]uit"))
(add-hook 'org-fc-review-flip-mode-hook #'org-fc-review-flip-mode-hint)
(add-hook 'org-fc-review-rate-mode-hook #'org-fc-review-rate-mode-hint)
There's an option to define keymap entries with an additional string,
however I've not found any information on what this is used for.
(setq org-fc-review-flip-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "RET") '("Flip" . org-fc-review-flip))
(define-key map (kbd "q") '("Quit" . org-fc-review-quit))
(define-key map (kbd "s") '("Suspend". org-fc-review-suspend-card))
map))
These strings could be used for the labels in the hint message,
but that would require some logic for formatting (kbd "RET")
as RET
instead of ^M
.
from org-fc.
the workaround you recommend works fine for my current workflow. I would imagine that the second approach works well for letters. therefore Even without support for formatting in the beginning, it would clean to integrate keymap configurations with bottom bar messages and display most of them as expected.
from org-fc.
I've added a contrib/
directory for extensions like this
that might be more experimental / unstable than "core" org-fc.
You can enable keymap-hints with (require 'org-fc-keymap-hint)
.
from org-fc.
One thing I dislike about the current implementation is that there are two ways keys are shown:
- At the bottom of the buffer when flipping / rating cards
- in the header line when editing cards
Removing the rating stats from the header line, the flip / rate keys could be shown there, too.
Because the header line can't contain linebreaks (as far as I know)
this would not scale well for larger keymaps, but at least it would be consistent.
Any opinions on this?
from org-fc.
Closing, moved to https://todo.sr.ht/~l3kn/org-fc/6
from org-fc.
Related Issues (20)
- [Feature request] Visualize future review distribution HOT 1
- [Bug] Review shows a wider-than-expected view HOT 1
- [Feature request] Skip position during review HOT 2
- Merge develop with main HOT 8
- Error when starting review: before first heading HOT 1
- spaced repetition writing HOT 1
- Using latex with curly braces results in improper cloze deletion cards HOT 2
- Text input cloze item HOT 3
- Old card are getting deleted somehow? HOT 5
- Quick question regarding normal card format HOT 4
- Arithmetic overflow error with inline latex HOT 13
- Timer to automatically flip cards. HOT 4
- Personal contexts stopped working HOT 6
- [Feature request] Review hierarchy HOT 4
- [Documentation] Replicate documentation into repo HOT 2
- [Feature request] Reschedule all positions forward/backward by N days HOT 6
- [Feature request] Formalize/Make-explicit the data structures used throughout org-fc HOT 3
- [Feature request] Allow cloze context per-card customization HOT 1
- [Feature request] Persist org-fc-review-new-limit state across Emacs reload
- [Feature request] Per-context new card limits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-fc.