Link to Vertico

This commit is contained in:
contrapunctus 2022-01-24 02:15:41 +05:30
parent 024bab2376
commit e603178655
2 changed files with 12 additions and 12 deletions

View File

@ -13,7 +13,7 @@
1. [chronometrist](#usage-chronometrist)
2. [chronometrist-report](#usage-chronometrist-report)
3. [chronometrist-statistics](#usage-chronometrist-statistics)
4. [chronometrist-details](#org72ecf01)
4. [chronometrist-details](#orgdd9ead3)
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](#orgb290b80)
5. [How to skip running hooks/attaching tags and key values](#orgea0d9ab)
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](#orge4eb0e2)
7. [Explanation](#org03a6815)
1. [Literate Program](#explanation-literate-program)
8. [User's reference](#orge6cc5d0)
8. [User's reference](#orgafe5665)
9. [Contributions and contact](#contributions-contact)
10. [License](#license)
11. [Thanks](#thanks)
12. [Local variables](#orgd1c448e):NOEXPORT:
12. [Local variables](#org62607dc):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="org72ecf01"></a>
<a id="orgdd9ead3"></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="orgb290b80"></a>
<a id="orgea0d9ab"></a>
## How to skip running hooks/attaching tags and key values
@ -318,7 +318,7 @@ Adapted from this [StackOverflow answer](https://stackoverflow.com/questions/691
## How to configure Vertico for use with Chronometrist
By default, Vertico uses its own sorting function - for some commands (such as `chronometrist-key-values-unified-prompt`) this results in *worse* suggestions, since Chronometrist sorts suggestions in most-recent-first order.
By default, [Vertico](https://github.com/minad/vertico) uses its own sorting function - for some commands (such as `chronometrist-key-values-unified-prompt`) this results in *worse* suggestions, since Chronometrist sorts suggestions in most-recent-first order.
You can either disable Vertico's sorting entirely -
@ -332,7 +332,7 @@ Or use `vertico-multiform` to disable sorting for only a specific command -
'((chronometrist-key-values-unified-prompt (vertico-sort-function . nil)))))
<a id="orge4eb0e2"></a>
<a id="org03a6815"></a>
# Explanation
@ -348,7 +348,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="orge6cc5d0"></a>
<a id="orgafe5665"></a>
# User's reference
@ -421,7 +421,7 @@ blandest for helping me with the name
fiete and wu-lee for testing and bug reports
<a id="orgd1c448e"></a>
<a id="org62607dc"></a>
# Local variables :NOEXPORT:

View File

@ -289,7 +289,7 @@ Adapted from this [[https://stackoverflow.com/questions/6916529/how-can-i-make-e
:PROPERTIES:
:CUSTOM_ID: howto-vertico
:END:
By default, Vertico uses its own sorting function - for some commands (such as =chronometrist-key-values-unified-prompt=) this results in /worse/ suggestions, since Chronometrist sorts suggestions in most-recent-first order.
By default, [[https://github.com/minad/vertico][Vertico]] uses its own sorting function - for some commands (such as =chronometrist-key-values-unified-prompt=) this results in /worse/ suggestions, since Chronometrist sorts suggestions in most-recent-first order.
You can either disable Vertico's sorting entirely -
#+BEGIN_SRC emacs-lisp