Commit Graph

38 Commits

Author SHA1 Message Date
Marty Oehme b2d7666b07
sioyek: Add toggle map for dual paged mode
Using `d` we can toggle between single paged and dual paged mode,
only works in the dev version for now.
2024-04-19 11:34:29 +02:00
Marty Oehme b47043d42b
papis: Fix mark opener setting name 2024-02-10 13:40:18 +01:00
Marty Oehme d468a62a42
jrnl: Use plus symbol for tags
Mirroring the taskwarrior setup, we use `+something` for tags, not the
`@something` which (I think?) is the default.
2024-01-11 18:01:51 +01:00
Marty Oehme 029b38f368
jrnl: Update jrnl version 2023-12-12 12:22:16 +01:00
Marty Oehme 4cc03a611a
sh: Add default open script
Simple wrapper for xdg-open functionality. Simply refers
to xdg-open except if there exists mimeo on the system
which it will refer to instead.

So, a simple preference modificator for mimeo over
xdg-open since that is my preference too.

Also gave it a short name so I can do open whenever I
want and don't have to tax my left hand with tying xdg.
2023-12-04 08:26:59 +01:00
Marty Oehme 6dd7f5b39a
sioyek: search case insensitively by default 2023-11-15 14:23:45 +01:00
Marty Oehme 5f0f7f22ef
sioyek: Always open new windows
Do not open multiple pdf files in the same window, but open
a new window for each file opened (there is no way to
display multiple open pdf files side-by-side otherwise).
2023-10-05 18:28:04 +02:00
Marty Oehme 378541df7e
sioyek: Add mappings for page/highlight movement
Added hjkl mappings to scroll within pages. Added movement
between highlights with `]h/[h`, although I am not sure it
works in both directions with these mappings.
2023-10-05 18:27:13 +02:00
Marty Oehme a3b54a155e
sioyek: Switch to dotter template for flavouring
Since sioyek does not support including into its configuration
file, we switch it to dotter templating and use the in-place
flavours insertion on theme selection for theming.

Any theming will not back filter into the repository.
2023-10-03 15:10:05 +02: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 af410c0b77
writing: Add sioyek configuration 2023-10-02 13:55:46 +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 6e5ad35862
jrnl: Update version 2023-07-21 20:17:05 +02:00
Marty Oehme 20c8edbe19
writing: Add pandoc templates letter and resume
Letter creates a letter ready to be sent (in official
German DIN accepted format).
Resume allows creation of a CV by providing a few
quality of life setups.
2023-06-20 13:01:27 +02:00
Marty Oehme f33b4c9c37
nvim: Restructure lua dir
Moved plugins into individual component module files which are
automatically required by lazy.nvim. Should make everything a tiny bit
more modular, or at least prepare the way for true modularity if I ever
have the time on my hands to ensure everything works with missing
modules.

Moved core settings into their own directory (`core`), and created a
`personal` folder which contains functions/plugins I wrote that do not
necessarily have to be their own imported plugin yet.

Finally, extended the utility functions a little, so we can detect if a
plugin exists and change e.g. key maps based on that (once again,
extending modularity a little more). Some simple attempts have been made
at that in the `mappings.lua` file, though it is nowhere near extensive
yet - most keymaps are still set regardless of plugin availability.

However, with this slimmer base to work off of, I feel more confident in
changing future things about this setup a little more ad-hoc without
having as many ripple repercussions as before.
2023-06-17 21:54:22 +02:00
Marty Oehme 6fdf1cc2e4
writing: Update jrnl version 2023-06-15 09:47:56 +02:00
Marty Oehme 6a4f2e6ecc
papis: Change notes to markdown, add ee library 2023-03-19 14:50:25 +01:00
Marty Oehme 2c0d41f4af
nvim: Load zathura colors from xdg state directory 2023-03-07 10:51:22 +01:00
Marty Oehme 356d3ef3e6
writing: Add zk configuration to writing module 2023-03-03 12:56:18 +01:00
Marty Oehme 1e84deff03
papis: Fix reference for imports, Add personal lib 2023-02-25 16:58:31 +01:00
Marty Oehme 0a137d1446
zathura: Show double page for first page 2023-02-08 19:36:12 +01:00
Marty Oehme c306e30219
writing: Add papis configuration 2023-02-08 19:36:04 +01:00
Marty Oehme 3dbc9f47d9
jrnl: Add to writing module
Added base configuration of my digital journaling tool of choice jrnl to
the writing package.
2023-01-07 16:25:50 +01:00
Marty Oehme 04c02fde72
writing: Consolidate into module
For now, contains bibtex and zathura options, though it will undoubtedly
increase as I add more writing utilities (such as jrnl) into the repo.
2023-01-07 15:56:03 +01:00