Add priority feature
This feature will allow users to add and view tasks based on their priorities.
Priority order:
Priority can be any integer (from 1 - 9) where 1 is the task with highest priority and 9 is the task with lowest priority. The list of tasks will be sorted in the order of priority from highest to the lowest as described above.
Way to store the priorities
In order to store the priorities in the markdown file at the end of the task add [1] which will represent priority of the task as 1.
a keybind:
Any new task that will be added (by pressing a) to a list should automatically be positioned in the section (the section is not visible as such just logical) with the same priority and it should be added at the top position of that priority section (which has the same priority value of the newly added task).
A keybind
This makes the A keybind kind of useless so maybe make A to add task at last of that priority section (not sure about this feature have to think a bit more).
Visual changes
- To show the priority of a task in the task list (maybe?)
No priority based sorting for DONE list
The DONE list shouldn't have any priority based sorting since the order of completion of a task is more important for the end user.