Tweak vertico-multiform example code
This commit is contained in:
parent
e603178655
commit
5629b06f33
21
manual.md
21
manual.md
|
@ -13,7 +13,7 @@
|
|||
1. [chronometrist](#usage-chronometrist)
|
||||
2. [chronometrist-report](#usage-chronometrist-report)
|
||||
3. [chronometrist-statistics](#usage-chronometrist-statistics)
|
||||
4. [chronometrist-details](#orgdd9ead3)
|
||||
4. [chronometrist-details](#org19d44bb)
|
||||
5. [common commands](#usage-common-commands)
|
||||
6. [Time goals/targets](#time-goals)
|
||||
6. [How-to](#how-to)
|
||||
|
@ -21,19 +21,19 @@
|
|||
2. [How to load the program using literate-elisp](#how-to-literate-elisp)
|
||||
3. [How to attach tags to time intervals](#how-to-tags)
|
||||
4. [How to attach key-values to time intervals](#how-to-key-value-pairs)
|
||||
5. [How to skip running hooks/attaching tags and key values](#orgea0d9ab)
|
||||
5. [How to skip running hooks/attaching tags and key values](#org8a0d4c5)
|
||||
6. [How to open certain files when you start a task](#how-to-open-files-on-task-start)
|
||||
7. [How to warn yourself about uncommitted changes](#how-to-warn-uncommitted-changes)
|
||||
8. [How to display the current time interval in the activity indicator](#how-to-activity-indicator)
|
||||
9. [How to back up your Chronometrist data](#how-to-backup)
|
||||
10. [How to configure Vertico for use with Chronometrist](#howto-vertico)
|
||||
7. [Explanation](#org03a6815)
|
||||
7. [Explanation](#orge41029f)
|
||||
1. [Literate Program](#explanation-literate-program)
|
||||
8. [User's reference](#orgafe5665)
|
||||
8. [User's reference](#orgac468be)
|
||||
9. [Contributions and contact](#contributions-contact)
|
||||
10. [License](#license)
|
||||
11. [Thanks](#thanks)
|
||||
12. [Local variables](#org62607dc):NOEXPORT:
|
||||
12. [Local variables](#org235758e):NOEXPORT:
|
||||
|
||||
<a href="https://liberapay.com/contrapunctus/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/liberapay/receives/contrapunctus.svg?logo=liberapay"></a>
|
||||
|
||||
|
@ -159,7 +159,7 @@ Run `M-x chronometrist-statistics` (or `chronometrist` with a prefix argument of
|
|||
Press `b` to look at past time ranges, and `f` for future ones.
|
||||
|
||||
|
||||
<a id="orgdd9ead3"></a>
|
||||
<a id="org19d44bb"></a>
|
||||
|
||||
## chronometrist-details
|
||||
|
||||
|
@ -234,7 +234,7 @@ Evaluate or add to your init.el the following -
|
|||
To exit the prompt, press the key it indicates for quitting - you can then edit the resulting key-values by hand if required. Press `C-c C-c` to accept the key-values, or `C-c C-k` to cancel.
|
||||
|
||||
|
||||
<a id="orgea0d9ab"></a>
|
||||
<a id="org8a0d4c5"></a>
|
||||
|
||||
## How to skip running hooks/attaching tags and key values
|
||||
|
||||
|
@ -327,12 +327,13 @@ You can either disable Vertico's sorting entirely -
|
|||
Or use `vertico-multiform` to disable sorting for only a specific command -
|
||||
|
||||
(use-package vertico-multiform
|
||||
:init (vertico-multiform-mode)
|
||||
:config
|
||||
(setq vertico-multiform-commands
|
||||
'((chronometrist-key-values-unified-prompt (vertico-sort-function . nil)))))
|
||||
|
||||
|
||||
<a id="org03a6815"></a>
|
||||
<a id="orge41029f"></a>
|
||||
|
||||
# Explanation
|
||||
|
||||
|
@ -348,7 +349,7 @@ The Org file can also be loaded directly using the [literate-elisp](https://gith
|
|||
`chronometrist.org` is also included in MELPA installs, although not used directly by default, since doing so would interfere with automatic generation of autoloads.
|
||||
|
||||
|
||||
<a id="orgafe5665"></a>
|
||||
<a id="orgac468be"></a>
|
||||
|
||||
# User's reference
|
||||
|
||||
|
@ -421,7 +422,7 @@ blandest for helping me with the name
|
|||
fiete and wu-lee for testing and bug reports
|
||||
|
||||
|
||||
<a id="org62607dc"></a>
|
||||
<a id="org235758e"></a>
|
||||
|
||||
# Local variables :NOEXPORT:
|
||||
|
||||
|
|
|
@ -299,6 +299,7 @@ You can either disable Vertico's sorting entirely -
|
|||
Or use =vertico-multiform= to disable sorting for only a specific command -
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package vertico-multiform
|
||||
:init (vertico-multiform-mode)
|
||||
:config
|
||||
(setq vertico-multiform-commands
|
||||
'((chronometrist-key-values-unified-prompt (vertico-sort-function . nil)))))
|
||||
|
|
Reference in New Issue