==================
- Improve: Alias command ``env`` to ``environs``.
- E.g., ``dob env``.
- Feature: Make all key bindings user configurable.
[|dob-viewer|_]
- Run ``dob config dump editor-keys`` to see all the mappings.
- User can specify zero, one, or multiple keys for each action.
- Improve: Remove 'escape'-only binding to avoid exit on unmapped Ctrl-keys.
[|dob-viewer|_]
- Bugfix: Catch Ctrl-C on dirty-quit confirmation, to avoid unseemly stack trace.
[|dob-viewer|_]
- Bugfix: Ctrl-W not saving on exit.
[|dob-viewer|_]
- Improve: Remove the Ctrl-W save-and-exit key binding.
[|dob-viewer|_]
- Convention is that Ctrl-W is "close", but what would that be in dob?
- The command remains but the binding was removed. The user can assign
a key binding in their config if they want to enable this command.
- Feature: Vim-like command mode (lite).
[|dob-viewer|_]
- Just the three commands, ``:w``, ``:q``, and ``:wq``.
- Because dob uses EDITOR, if Vim is user's editor, user could
run ``:wq`` twice in a row to save their Fact description, leave
the Vim editor, and then save and quit dob.
- Feature: Add modifier key (defaults to ``!``) to allow interval gap.
[|dob-viewer|_]
- E.g., consider the command ``-1h``, which sets start 1 hour before end.
If it makes the current Fact's time shorter, then it stretches the
previous Fact's end time, as well.
- To not touch the neighbor Fact but to leave a gap instead,
press the modifier key after entering the number, e.g., ``-1!h``.
- User can change the modifier key via the ``editor-keys.allow_time_gap``
config setting.
- Feature: Add time command modifier (``!``) to allow interval gap.
[|dob-viewer|_]
- E.g., consider the command ``-1h``, which sets start 1 hour before end.
If it makes the current Fact's time shorter, then it stretches the
previous Fact's end time, as well.
- To not touch the neighbor Fact but to leave a gap instead,
press the modifier key after entering the number, e.g., ``-1!h``.
- Feature: Convenient 1- and 5-minute single-key time nudging commands.
[|dob-viewer|_]
- E.g., ``[`` and ``]`` to decrement or increment end by 1 min., or
add shift press for 5 mins., i.e., ``{`` and ``}``.
- Likewise, use ``,`` and ``.`` to nudge start time
backwards or forwards by 1 minute, respectively;
and use ``<`` and ``>`` for five minutes instead.
- All four keys are user-customizable, of course!
- Bugfix: Ensure Facts marked dirty after time nudging.
[|dob-viewer|_]
- Or user is not asked to save on exit after nudging time.
- Bugfix: Long press time nudge is not increasing deltas over time.
[|dob-viewer|_]
- E.g., if user holds Ctrl-left down, it starts adjusting the time by
one minute for each press generated, but it was not increasing to
five minutes per press, etc., the longer the user kept the key pressed.
- Improve: Ensure neighbor Fact time width not squashed to 0.
[|dob-viewer|_]
- Bugfix: Cannot jump to first/final fact if current Fact within jump delta.
[|dob-viewer|_]
- E.g., Consider user is on current Fact, 2020-04-12 12:00 to 13:00, and
the final Fact is from 2020-04-12 15:00 to 16:00. Pressing ``K`` does not
jump to the final Fact, because it was less than 1 day ahead of current.
- Improve: On jump day from active Fact, use now as reference time.
[|dob-viewer|_]
- This feels more natural, rather than jumping from the start of the
active Fact, and prevents jumping back more than a day.
- Feature: Add Vim-like [count] prefix to Jump and Nudge commands.
[|dob-viewer|_]
- E.g., user has been able to press ``j`` to go to the previous Fact.
Now they can press ``5j`` to go back 5 Facts.
- Likewise for jumping by day, e.g., ``2.5K`` will jump forward 2.5 days.
- Same for time nudging, ``Ctrl-left`` has been used for decrementing the
end time by 1 minute. Now user can specify exact amount, e.g., to
decrease the end time by 4.2 minutes, the user can type ``4.2<Ctrl-left>``.
- User can type ``!`` before or after digits to signal that a time nudge
command should leave a gap rather than stretching a neighbor's time,
e.g., ``!1<Ctrl-right>`` and ``1!<Ctrl-right>`` are equivalent.
- To give user better visibility into what's happening, the jump commands
now print a status message indicating how many days or number of Facts
were jumped. When jumping by day, the time reference used is also shown,
which is helpful if there's a long Fact or Gap, so the user does not get
confused when their jump does not appear to do anything (i.e., when
time reference changes but locates the same Fact that was showing).
- Bugfix: Prompt crashes if user presses Ctrl-D on empty text.
[|dob-prompt|_]
- Bugfix: Prompt not positioned correctly after Escape keypress.
[|dob-prompt|_]
- Enhance: Reset chosen completer on Ctrl-C (e.g., like pressing ``F2``).
[|dob-prompt|_]
- API: Pass Click content to post_processor handler.
[|dob-bright|_]