writing: Restructure module layout per-program
Similarly to the qutebrowser module we change the layout to have a program name at the top-level and all required files for that specific program within, whether they reside within .config, .local or anywhere else. We use dotter mappings to achieve this.
This commit is contained in:
parent
0903e7e443
commit
85c152a07c
19 changed files with 8 additions and 2 deletions
74
writing/papis/config
Normal file
74
writing/papis/config
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
[settings]
|
||||
default-library = main
|
||||
formater = bbt
|
||||
local-config-file = .papis.config
|
||||
|
||||
opentool = sioyek
|
||||
picktool = papis-tui
|
||||
mark-opener-format = 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
|
||||
|
||||
# My personal reading
|
||||
[personal]
|
||||
dir = ~/documents/library/personal
|
||||
|
||||
# Sustainable supply chain logistics, especially procurement
|
||||
[litrev-rahman]
|
||||
dir = ~/documents/library/litrev-rahman
|
||||
|
||||
# Addressing Inequalities in World of Work research
|
||||
[ilo]
|
||||
dir = ~/documents/library/ilo-wow
|
||||
|
||||
# fediverse-related academia, from
|
||||
# https://www.zotero.org/groups/5490166/fediverse_research
|
||||
[fedi]
|
||||
dir = ~/documents/library/fediverse
|
||||
|
||||
# General computer science reading
|
||||
[cs]
|
||||
dir = ~/documents/library/cs
|
||||
|
||||
# Electrical engineering reading
|
||||
[ee]
|
||||
dir = ~/documents/library/ee
|
||||
|
||||
# All my university programme readings
|
||||
[emgs]
|
||||
dir = ~/documents/library/emgs
|
||||
|
||||
# General research reading
|
||||
[academia]
|
||||
dir = ~/documents/library/academia
|
||||
|
||||
|
||||
[plugins.extract]
|
||||
tags = {"red": "important", "green": "extra", "blue": "toread"}
|
||||
|
||||
[plugins.bbt-formatter]
|
||||
full-year = True
|
||||
title-words = 2
|
||||
title-chars = 20
|
||||
Loading…
Add table
Add a link
Reference in a new issue