From dc78a5b67afcabf34d959c5a212c3ec0959c3355 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 16 Sep 2023 11:28:25 +0200 Subject: [PATCH] papis: Update config to use bbt formatter Using my custom bbt-formatter for reference keys. --- writing/.config/papis/config | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/writing/.config/papis/config b/writing/.config/papis/config index 0742dc7..319d124 100644 --- a/writing/.config/papis/config +++ b/writing/.config/papis/config @@ -1,12 +1,17 @@ [settings] -#opentool = zathura -picktool = papis-tui default-library = main +formater = bbt +local-config-file = .papis.config + +# opentool = zathura +picktool = papis-tui +mark-opener = zathura -P {mark[value]} file-browser = vifm -ref-format = {doc[author_list][0][family]}{doc[year]} # 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 @@ -20,8 +25,6 @@ default-query-string = * notes-name = notes.md notes-template = {doc[author_list][0][family]}{doc[year]}--{doc[title]} -mark-opener = zathura -P {mark[value]} - [tui] editmore = vi @@ -42,3 +45,8 @@ dir = ~/documents/library/cs [ee] dir = ~/documents/library/ee + +[plugins.bbt-formatter] +full-year = True +title-words = 2 +title-chars = 20