mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
update readme
This commit is contained in:
parent
57f6dd2a15
commit
d3c1eb0764
@ -7,7 +7,7 @@ An implementation of Mozillas [Frecency algorithm](https://developer.mozilla.org
|
|||||||
Frecency is a score given to each unique file loaded into a Neovim buffer.
|
Frecency is a score given to each unique file loaded into a Neovim buffer.
|
||||||
On each load a timestamp is recorded to a database. The score is calculated using the age of each of the timestamps and the amount of times the file has been loaded:
|
On each load a timestamp is recorded to a database. The score is calculated using the age of each of the timestamps and the amount of times the file has been loaded:
|
||||||
|
|
||||||
Recency_score =
|
### Recency values (per timestamp)
|
||||||
|
|
||||||
| Timestamp age | Value |
|
| Timestamp age | Value |
|
||||||
| -------- | ---------- |
|
| -------- | ---------- |
|
||||||
@ -18,9 +18,12 @@ Recency_score =
|
|||||||
| 1 month | 20 |
|
| 1 month | 20 |
|
||||||
| 90 days | 10 |
|
| 90 days | 10 |
|
||||||
|
|
||||||
|
### Score calculation
|
||||||
|
|
||||||
```
|
```
|
||||||
final_score = frequency * recency_score / max_number_of_timestamps
|
score = frequency * recency_score / max_number_of_timestamps
|
||||||
```
|
```
|
||||||
|
|
||||||
## WIP
|
## WIP
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user