Commit graph

7 commits

Author SHA1 Message Date
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
Marty Oehme 6e60101b9b
papis: Improve tui rendering and add priority maps
We render the priority of an entry in both table and multiline mode,
with priority >=1 being highest, >=3 being medium and everything
>5 being low priority.

We also have some maps for quickly setting the priority of an entry
from the tui:

`,ph` | `,pm` | `,pl` (for high, medium, low - so 1,3,5).

Lastly, I quickly added some to-dos that require the input of the
maintainer or some work in a fork, so I don't forget.
I also should not forget that I implemented some of them locally already
and am using them.
2023-09-16 11:23:23 +02:00
Marty Oehme 01405b9438
papis: Change key bindings
Unified key bindings roughly to

localleader=, anything with `,` in front will affect the current
documents somehow (e.g. mark them read, add a tag, ..).
jumpto=' prepending with `'` will affect the current view
(e.g. limit to unread documents, limit to entries with notes, ..).

Sorting can be done with `S`, like in vifm.
Display style can be toggled to table with `T`.
2023-08-31 12:23:34 +02:00
Marty Oehme 248f171f48
papis: Improve tui table view rendering
Show read status, tags, attached documents and notes in a swift overview -
trying to somewhat mimic the JabRef table view since I like it quite a lot.
2023-08-31 12:20:08 +02:00
Marty Oehme cf0544b0a5
papis: Add styling to papis-tui 2023-08-29 22:44:55 +02:00
Marty Oehme 8bf61fc582
papistui: Add page scroll and info window
Added info window displaying abstracts or citation information.
Added quick page scrolling with <c-f> <c-u> mimicking vim.
2023-08-25 16:31:09 +02:00
Marty Oehme 6a4f2e6ecc
papis: Change notes to markdown, add ee library 2023-03-19 14:50:25 +01:00