pimutils / pimutils/khal

Copy date/time in start/end editor from end/start field

Open
#1,047 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

I regularly copy events to new ones (using "duplicate"/"p" key) and edit the new event by editing date and time. Therefore, I often need to edit twice the date and the time for both "start" and "end" fields.

A useful feature in the date and time fields would be a keybinding (e.g. "pastedatetime", mapped to "ctrl p") to paste the symmetrical field:

  • in the "end date", "p" would paste the "start date" value
  • in the "start time", "p" would paste the "end time" value
  • and so on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the date and time editor code and its existing keybindings, especially the "duplicate"/"p" behavior. Check how start and end field values are exposed to the editor, then define completion as a keybinding such as "pastedatetime" copying the symmetrical date or time value in each field.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.