dotfiles/writing/.config/papis/config
Marty Oehme 342a350c97
papis: Regress to textual priority entry
HACK Since there is some weirdness with the whoosh backend for papis not
being able to either index or search for integer values in custom
fields, this commit sets the priorities across the library (as well as
the tui picker) to make use of textual reprentations.

1 -> high
3 -> medium
5 -> low

This means we can't do simple arithmetic evaluations on priority anymore
but at least we can search it correctly in papis. Should probably put in
a ticket to see if it can be fixed.
2023-10-03 13:03:38 +02:00

61 lines
1.4 KiB
Text

[settings]
default-library = main
formater = bbt
local-config-file = .papis.config
opentool = sioyek
picktool = papis-tui
mark-opener = sioyek --page {mark[value]}
file-browser = vifm
# edit info.yaml as new papers are added
add-edit = True
# ref-format = {doc[author_list][0][family]}{doc[year]}
ref-format = bbt
add-folder-name = {doc[author_list][0][family]}-{doc[title]}
add-file-name = {doc[author_list][0][family]}{doc[year]}
header-format-file = ~/.config/papis/headerformat
extra-bibtex-keys = ["tags", "readstatus", "priority"]
database-backend = whoosh
whoosh-schema-fields = ["doi", "ref", "author", "year", "title", "publisher", "tags", "readstatus", "date", "isbn", "type", "keyword", "qualityassured", "priority"]
# to make whoosh list everything by default
default-query-string = *
notes-name = notes.md
notes-template = {doc[author_list][0][family]}{doc[year]}--{doc[title]}
[tui]
editmore = vi
[main]
dir = ~/documents/library
[emgs]
dir = ~/documents/library/emgs
[academia]
dir = ~/documents/library/academia
[personal]
dir = ~/documents/library/personal
[cs]
dir = ~/documents/library/cs
[ee]
dir = ~/documents/library/ee
[litrev-rahman]
dir = ~/documents/library/litrev-rahman
[ilo]
dir = ~/documents/library/ilo-wow
[plugins.extract]
tags = {"red": "important", "green": "extra", "blue": "toread"}
[plugins.bbt-formatter]
full-year = True
title-words = 2
title-chars = 20