You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, I really like using helix.
But I feel like tutor might get a little bit better, and with some help from the community.
Here is how I think this might work with not too much work from developers, making use of existing macros functionality.
This is a sample practice.txt file:
; All comments like this one are ignored
; Below is a macro definition for key 0
; 0 might be the bull's eye target for the practice with maximum score
; other macros for keys from 9 to 1 could be defined as also correct but with lower score.
; I am not sure if this way of defining a macro from file is implemented, but it makes this solution keybinding agnostic.
macro 0 select_mode,3,move_next_word_start,delete_selection_noyanko
; You declare where the cursor should be placed in given question
; by marking that position with a marker, which is | (pipe) by default
; You can redefine it like this, in case you want to use | in your question:
position ~
; You can redefine question marker (default Q - a line with single character) like this:
question QSTN
; You can redefine answer (default A) marker like this:
answer ANSWR
; All markers definitions should happen before any question-answer pair occurs in a document.
; Try to make the questions funny or amusing
; - people tend to remember better when in good mood.
; A question consists of all the lines (including empty lines and comments)
; after question marker and before answer marker.
; An answer consists of all the lines after answer marker and next question or the EOF.
QSTN
I ~have unfortunately totally failed math so many times at school, I can’t even count.
ANSWR
I failed math so many times at school, I can’t even count.
Interactive tutor reads a text file line by line, ignoring comments.
If a macro is defined, it loads it to it's current set of defined macros.
If it finds a position definition, it adjust current position marker.
Same goes with question and answer markers.
All the other lines should be question answer pairs grouped together.
Tutor presents the question in a split mode, answer above, question below.
Tutor removes position marker and places cursor in place of that marker, selecting next char.
Tutor starts recording a new macro.
After each key press tutor compares question buffer with answer buffer for identity.
Once buffers are identical (or max keypress number has been reached), tutor stops recording a macro and compares it against
those defined it practice document.
A scoring system can be implemented.
Tutor can pick random questions from various practice documents but in some ordered way,
defined either by the user, or by the tutor.
Regular users can define their own practice files and add them to their tutor directory.
Users can also share their practice files with community.
People build great muscle memory for their own defined keybindings and helix user base grows tremendously :)
Does this make any sense to anybody or am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, I really like using helix.
But I feel like tutor might get a little bit better, and with some help from the community.
Here is how I think this might work with not too much work from developers, making use of existing macros functionality.
This is a sample practice.txt file:
Interactive tutor reads a text file line by line, ignoring comments.
If a macro is defined, it loads it to it's current set of defined macros.
If it finds a position definition, it adjust current position marker.
Same goes with question and answer markers.
All the other lines should be question answer pairs grouped together.
Tutor presents the question in a split mode, answer above, question below.
Tutor removes position marker and places cursor in place of that marker, selecting next char.
Tutor starts recording a new macro.
After each key press tutor compares question buffer with answer buffer for identity.
Once buffers are identical (or max keypress number has been reached), tutor stops recording a macro and compares it against
those defined it practice document.
A scoring system can be implemented.
Tutor can pick random questions from various practice documents but in some ordered way,
defined either by the user, or by the tutor.
Regular users can define their own practice files and add them to their tutor directory.
Users can also share their practice files with community.
People build great muscle memory for their own defined keybindings and helix user base grows tremendously :)
Does this make any sense to anybody or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions