enh: add a function to add a task to the beginning/end of the current file

Bug #482490 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TKDO
Confirmed
Medium
Unassigned

Bug Description

It would be useful to be able to quickly add a task to the top or bottom of the current task file. I've been doing this through a sort of kludgy method, but it needs to be an actual feature.

The way I've been doing this is:
  - Put a task at the top of each file called '...'
  - When I want to add a task to the top, I'll press Enter (zoom) then '/...', then 'o' to add a task.
  - Then I remove the filters (Escape) and navigate down to the new task.

The new function should do this in a single keypress.

Also, the "add at bottom" function (if any) should go only to the line below the final task, not to the actual bottom of the file. Any notes or comments at the bottom should remain at the bottom.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

This should probably also allow adding to the top/bottom of the current branch... so, instead of a single hotkey, perhaps it should be a key sequence:

  - a key to initiate the action, possibly followed by a key to indicate [t]op or [b]ottom
  - a key to specify [f]ile or [p]arent (or maybe [b]ranch)
  - and then the UI allows the user to enter a title.

I'm not sure whether the first key should also specify top/bottom. It would be nice to use 2 keys instead of 3, but that would require allocating two top-level key bindings instead of just one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.