Commit graph

20 commits

Author SHA1 Message Date
Marty Oehme b47043d42b
papis: Fix mark opener setting name 2024-02-10 13:40:18 +01:00
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 9040585fea
papis: Add new libraries 2023-10-02 20:08:02 +02:00
Marty Oehme 643deaebec
papis: Add ability to show tag counts to papis-tags
The `papis tags` command is extended with the functionality to not
just display all tags used in current query, sorted alphabetically,
but also to display how often they appear.

Use `papis tags -c` to show a space-separated count of how often
each tag is used next to the tag name, in descending order.
2023-10-02 19:16:23 +02:00
Marty Oehme 102cdbca1c
writing: Replace zathura with sioyek
Replaced or extended all default references to zathura with
sioyek so it will automatically take on any tasks meant
for pdf reading. With the current configuration, hardly a
change should be noticed.
2023-10-02 14:08:04 +02:00
Marty Oehme dc78a5b67a
papis: Update config to use bbt formatter
Using my custom bbt-formatter for reference keys.
2023-09-16 11:28:36 +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 62beaae3e9
papis: Rename main library to 'main'
Mimicking my move from master branches to main,
now my overall general library also resides in 'main'
instead of 'master'.
No real visible change, but unifies the wording for
everything.
2023-08-31 12:26:14 +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 29d1a2453d
papis: Differentiate between emgs and academia
Moved my old study library to the more descriptive emgs library
to differentiate from newly added studies under the academia
library.
Both can still be accessed through the main library.
2023-08-31 08:56:12 +02:00
Marty Oehme cf0544b0a5
papis: Add styling to papis-tui 2023-08-29 22:44:55 +02:00
Marty Oehme a7a8ebf8ed
papis: Add full code for papis-marvin plugin 2023-08-29 22:44:33 +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 0e12325730
papis: Change papis-reload to work on current lib
Papis reload will now only rebuild the cache of the currently
active library by default. To rebuild the cache of all libraries
papis knows, simply supply the `--all` switch.
2023-08-25 16:27:42 +02:00
Marty Oehme 6122077124
papis: Add papis-tag tag-listing command
Command takes a query and lists all the tags contained in
all documents of the query sorted alphabetically.
2023-08-25 16:26:43 +02:00
Marty Oehme bda8a3d6f6
papis: Extend papis-show to use rich output
Papis show can now show output styled by python-rich if it
is in the environment. Otherwise falls back to normal
console printing.
Added more information to output (journal, volume, issue,
type, doi) but also added `-s` switch which returns to
old single-line behavior for copying to other programs.
2023-08-25 16:25:54 +02:00
Marty Oehme 6a4f2e6ecc
papis: Change notes to markdown, add ee library 2023-03-19 14:50:25 +01:00
Marty Oehme 1e84deff03
papis: Fix reference for imports, Add personal lib 2023-02-25 16:58:31 +01:00
Marty Oehme c306e30219
writing: Add papis configuration 2023-02-08 19:36:04 +01:00