From a7397dc58d7978fb59319ac033f94066dbf908f8 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 2 Sep 2019 13:54:24 +0000 Subject: [PATCH] Resolve "Set up papis configuration for reference management" Add papis config file. Sets up a single 'academia' library in Nextcloud/Library folder. Uses vim for most editing, and vifm as the file manager. No advanced functionality of papis is touched yet. The structure of the library is to use authorname-title as subfolders in the library for the individual document clusters (i.e. the info.yaml files and any associated document files or notes). Will need to further test functionality. --- .config/papis/config | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .config/papis/config diff --git a/.config/papis/config b/.config/papis/config new file mode 100644 index 0000000..5afeb1e --- /dev/null +++ b/.config/papis/config @@ -0,0 +1,27 @@ +[settings] +default-library = academia + +opentool = xdg-open +file-browser = vifm + +ref-format = {doc[author_list][0][surname]}{doc[year]} + +add-confirm = True +add-name = {doc[author]}-{doc[title]} +add-folder-name = {doc[author]}-{doc[title]} +file-name = {doc[author]}_{doc[year]}_{doc[title]} +add-file-name = {doc[author]}_{doc[year]}_{doc[title]} + +mark-header-format = {mark[value]}: {mark[name]} +mark-opener-format = zathura --page {mark[value]} + +[tui] +editmode = vi +options_list.selected_margin_style = bg:ansiwhite fg:ansiblack +options_list.unselected_margin_style = bg:ansiblack + +[test] +dir = ~/documents/library + +[academia] +dir = ~/Nextcloud/Library/academia