Compare commits

..

No commits in common. "6254c92bd317c9639e674a29dbbe61112952fe21" and "6e8132d311bfcd6a2ee65851c1c39a9cca20dd00" have entirely different histories.

15 changed files with 49 additions and 173 deletions

View file

@ -203,7 +203,7 @@ offpunk-git Fork of the command-line Gemini client AV-98 with added offline capa
oh-my-zsh-git A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins and over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community A oh-my-zsh-git A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins and over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community A
os-prober Utility to detect other OSes on a set of drives R os-prober Utility to detect other OSes on a set of drives R
pacman-contrib Contributed scripts and tools for pacman systems R pacman-contrib Contributed scripts and tools for pacman systems R
papis Papis is a powerful and highly extensible command-line based document and bibliography manager. P whoosh,papis-zotero,papis-scihub,git+https://git.martyoeh.me/Marty/papis-extract.git,git+https://github.com/supersambo/papis-tui,pybtex-apa-style,git+https://git.martyoeh.me/Marty/papis-bbt-formatter.git papis Papis is a powerful and highly extensible command-line based document and bibliography manager. P whoosh,papis-zotero,papis-scihub,git+https://git.martyoeh.me/Marty/papis-extract.git,git+https://github.com/supersambo/papis-tui
parallel A shell tool for executing jobs in parallel R parallel A shell tool for executing jobs in parallel R
parsec-bin Remotely connect to a gaming pc for a low latency remote computing experience A parsec-bin Remotely connect to a gaming pc for a low latency remote computing experience A
paru-bin Feature packed AUR helper A paru-bin Feature packed AUR helper A

Can't render this file because it has a wrong number of fields in line 29.

View file

@ -12,20 +12,6 @@ profile docked {
exec notify-send "💻 Display changed" "Applying docked Goldstar profile" exec notify-send "💻 Display changed" "Applying docked Goldstar profile"
} }
profile dockedall {
output "LG Electronics W2442 0x000075FD" position 1920,0
output "LG Electronics W2442 0x000075E1" position 0,0
output eDP-1 enable position 960,1080
exec notify-send "💻 Display changed" "Applying docked 3-screen profile"
}
profile portable {
output "LG Electronics W2442 0x000075FD" disable
output "LG Electronics W2442 0x000075E1" disable
output eDP-1 enable position 0,0
exec notify-send "💻 Display changed" "Applying portable profile"
}
profile portable { profile portable {
output eDP-1 enable position 0,0 output eDP-1 enable position 0,0
exec notify-send "💻 Display changed" "Applying portable profile" exec notify-send "💻 Display changed" "Applying portable profile"

View file

@ -60,6 +60,7 @@ match:
rec_gap_thresh: 0.25 rec_gap_thresh: 0.25
plugins: plugins:
- acousticbrainz
- bandcamp - bandcamp
- chroma - chroma
- deezer - deezer

View file

@ -12,7 +12,6 @@
"cmp-digraphs": { "branch": "master", "commit": "5efc1f0078d7c5f3ea1c8e3aad04da3fd6e081a9" }, "cmp-digraphs": { "branch": "master", "commit": "5efc1f0078d7c5f3ea1c8e3aad04da3fd6e081a9" },
"cmp-latex-symbols": { "branch": "main", "commit": "165fb66afdbd016eaa1570e41672c4c557b57124" }, "cmp-latex-symbols": { "branch": "main", "commit": "165fb66afdbd016eaa1570e41672c4c557b57124" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" },
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
"cmp-pandoc-references": { "branch": "master", "commit": "2c808dff631a783ddd2c554c4c6033907589baf6" }, "cmp-pandoc-references": { "branch": "master", "commit": "2c808dff631a783ddd2c554c4c6033907589baf6" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
@ -24,6 +23,7 @@
"completion-vcard": { "branch": "master", "commit": "2220fd517a985ececed1adcf0e5be8f2815564c7" }, "completion-vcard": { "branch": "master", "commit": "2220fd517a985ececed1adcf0e5be8f2815564c7" },
"dial.nvim": { "branch": "master", "commit": "54b503f906bc9e5ab85288414840a1b86d40769f" }, "dial.nvim": { "branch": "master", "commit": "54b503f906bc9e5ab85288414840a1b86d40769f" },
"dressing.nvim": { "branch": "master", "commit": "c0b67f3e2950adc07b555d3e73e38275b4a585ce" }, "dressing.nvim": { "branch": "master", "commit": "c0b67f3e2950adc07b555d3e73e38275b4a585ce" },
"easyread.nvim": { "branch": "main", "commit": "0b07e315a4cd7d700c4a794bdddbec79fdc2628b" },
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
"friendly-snippets": { "branch": "main", "commit": "377d45475b49e37460a902d6d569d2093d4037d0" }, "friendly-snippets": { "branch": "main", "commit": "377d45475b49e37460a902d6d569d2093d4037d0" },
"fwatch.nvim": { "branch": "main", "commit": "a691f7349dc66285cd75a1a698dd28bca45f2bf8" }, "fwatch.nvim": { "branch": "main", "commit": "a691f7349dc66285cd75a1a698dd28bca45f2bf8" },
@ -34,6 +34,7 @@
"lazy.nvim": { "branch": "main", "commit": "3ad55ae678876516156cca2f361c51f7952a924b" }, "lazy.nvim": { "branch": "main", "commit": "3ad55ae678876516156cca2f361c51f7952a924b" },
"lightspeed.nvim": { "branch": "main", "commit": "299eefa6a9e2d881f1194587c573dad619fdb96f" }, "lightspeed.nvim": { "branch": "main", "commit": "299eefa6a9e2d881f1194587c573dad619fdb96f" },
"lsp-setup.nvim": { "branch": "main", "commit": "64542fb0da06414cdfaa0c5236b743679bb7ba7f" }, "lsp-setup.nvim": { "branch": "main", "commit": "64542fb0da06414cdfaa0c5236b743679bb7ba7f" },
"lsp_signature.nvim": { "branch": "master", "commit": "4665921ff8e30601c7c1328625b3abc1427a6143" },
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" }, "lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
"magma-nvim-goose": { "branch": "main", "commit": "9a626aab63361d027541d023707f82e28d7f872c" }, "magma-nvim-goose": { "branch": "main", "commit": "9a626aab63361d027541d023707f82e28d7f872c" },
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" }, "markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },

View file

@ -43,7 +43,6 @@ cmp.setup({
}, },
sources = { sources = {
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" },
{ name = "otter" }, { name = "otter" },
{ name = "luasnip", keyword_length = 2 }, { name = "luasnip", keyword_length = 2 },
{ name = "pandoc_references" }, { name = "pandoc_references" },

View file

@ -29,9 +29,7 @@ local servers = {
}, },
}, },
}, },
marksman = { marksman = {},
filetypes = { "markdown", "quarto" },
},
pyright = {}, pyright = {},
ruff_lsp = {}, ruff_lsp = {},
serve_d = {}, serve_d = {},

View file

@ -11,8 +11,8 @@ return {
vim.keymap.set("n", "<localleader>hO", "<Plug>(git-conflict-theirs)", { desc = "Conflict use theirs" }) vim.keymap.set("n", "<localleader>hO", "<Plug>(git-conflict-theirs)", { desc = "Conflict use theirs" })
vim.keymap.set("n", "<localleader>hm", "<Plug>(git-conflict-both)", { desc = "Conflict use both" }) vim.keymap.set("n", "<localleader>hm", "<Plug>(git-conflict-both)", { desc = "Conflict use both" })
vim.keymap.set("n", "<localleader>hM", "<Plug>(git-conflict-none)", { desc = "Conflict use none" }) vim.keymap.set("n", "<localleader>hM", "<Plug>(git-conflict-none)", { desc = "Conflict use none" })
vim.keymap.set("n", "[H", "<Plug>(git-conflict-prev-conflict)", { desc = "Prev git conflict" }) vim.keymap.set("n", "[x", "<Plug>(git-conflict-prev-conflict)", { desc = "Prev git conflict" })
vim.keymap.set("n", "]H", "<Plug>(git-conflict-next-conflict)", { desc = "Next git conflict" }) vim.keymap.set("n", "]x", "<Plug>(git-conflict-next-conflict)", { desc = "Next git conflict" })
end, end,
lazy = false, -- TODO needs to be force refreshed in lazy loaded mode unfortunately lazy = false, -- TODO needs to be force refreshed in lazy loaded mode unfortunately
}, },

View file

@ -13,6 +13,8 @@ return {
backends = { "treesitter", "lsp", "markdown", "man" }, backends = { "treesitter", "lsp", "markdown", "man" },
}, },
}, },
-- show a signature whenever editing a function or similar
{ "ray-x/lsp_signature.nvim", config = true, event = "VeryLazy" },
{ {
"junnplus/lsp-setup.nvim", "junnplus/lsp-setup.nvim",
dependencies = { dependencies = {
@ -64,7 +66,6 @@ return {
"hrsh7th/cmp-calc", "hrsh7th/cmp-calc",
"hrsh7th/cmp-cmdline", "hrsh7th/cmp-cmdline",
"hrsh7th/cmp-nvim-lua", "hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-nvim-lsp-signature-help",
"dmitmel/cmp-digraphs", "dmitmel/cmp-digraphs",
"jc-doyle/cmp-pandoc-references", "jc-doyle/cmp-pandoc-references",
"kdheepak/cmp-latex-symbols", "kdheepak/cmp-latex-symbols",

View file

@ -6,6 +6,13 @@ return {
{ "folke/zen-mode.nvim", config = true, event = "VeryLazy" }, { "folke/zen-mode.nvim", config = true, event = "VeryLazy" },
-- provide even distraction free-er writing (lowlight paragraphs) -- provide even distraction free-er writing (lowlight paragraphs)
{ "folke/twilight.nvim", event = "VeryLazy" }, { "folke/twilight.nvim", event = "VeryLazy" },
-- enable 'speed-reading' mode (bionic reading)
{
"JellyApple102/easyread.nvim",
config = true,
ft = writing_ft,
cmd = "EasyreadToggle",
},
{ {
"andrewferrier/wrapping.nvim", "andrewferrier/wrapping.nvim",
config = function() config = function()

View file

@ -1 +0,0 @@
Mitgliedern

View file

@ -185,4 +185,3 @@ GitLab
Gitea Gitea
caramelization caramelization
Maillard Maillard
individualities

View file

@ -180,6 +180,8 @@ redirects = {
"wiki-en": { "wiki-en": {
"source": ["en.wikipedia.org"], "source": ["en.wikipedia.org"],
"target": [ "target": [
"wiki.adminforge.de",
"wiki.froth.zone",
"wiki.slipfox.xyz", "wiki.slipfox.xyz",
"wikiless.funami.tech", "wikiless.funami.tech",
"wikiless.org", "wikiless.org",

View file

@ -35,7 +35,7 @@ export XDG_VIDEOS_DIR="$HOME/videos"
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects" test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
test "$XDG_BIN_HOME" || export XDG_BIN_HOME="$HOME/.local/bin" test "$XDG_BIN_HOME" || export XDG_BIN_HOME="$HOME/.local/bin"
# anything on BIN_HOME should be executable form anywhere # anything on BIN_HOME should be executable form anywhere
export PATH="$XDG_BIN_HOME:$PATH" export PATH="$PATH:$XDG_BIN_HOME"
## Applications that can be set through environment variables ## Applications that can be set through environment variables
export ANDROID_HOME="$XDG_DATA_HOME/android" export ANDROID_HOME="$XDG_DATA_HOME/android"

View file

@ -1,17 +1,12 @@
[settings] [settings]
default-library = main #opentool = zathura
formater = bbt #picktool = fzf
local-config-file = .papis.config default-library = master
# opentool = zathura
picktool = papis-tui
mark-opener = zathura -P {mark[value]}
file-browser = vifm file-browser = vifm
ref-format = {doc[author_list][0][family]}{doc[year]}
# edit info.yaml as new papers are added # edit info.yaml as new papers are added
add-edit = True 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-folder-name = {doc[author_list][0][family]}-{doc[title]}
add-file-name = {doc[author_list][0][family]}{doc[year]} add-file-name = {doc[author_list][0][family]}{doc[year]}
header-format-file = ~/.config/papis/headerformat header-format-file = ~/.config/papis/headerformat
@ -25,15 +20,14 @@ default-query-string = *
notes-name = notes.md notes-name = notes.md
notes-template = {doc[author_list][0][family]}{doc[year]}--{doc[title]} notes-template = {doc[author_list][0][family]}{doc[year]}--{doc[title]}
mark-opener = zathura -P {mark[value]}
[tui] [tui]
editmore = vi editmore = vi
[main] [master]
dir = ~/documents/library dir = ~/documents/library
[emgs]
dir = ~/documents/library/emgs
[academia] [academia]
dir = ~/documents/library/academia dir = ~/documents/library/academia
@ -45,8 +39,3 @@ dir = ~/documents/library/cs
[ee] [ee]
dir = ~/documents/library/ee dir = ~/documents/library/ee
[plugins.bbt-formatter]
full-year = True
title-words = 2
title-chars = 20

View file

@ -1,25 +1,14 @@
# current issues/requests
# - [ ] call arbitrary shell command
# - [ ] non-blocking opening of files
# - [ ] distinguish in config between aliases for multiline/table
# - [ ] update view after more operations
# - if I call an 'update' command (e.g. set new tag or read status), it will not update in list until 'edit' command invoked and rebuilding the list
# - two selection additions:
# - [ ] select all in view
# - [ ] limit view to currently selected
#
base: base:
vimflavour: nvim vimflavour: nvim
documentlist: documentlist:
defaultstyle: multiline defaultstyle: multiline
marked-icon: "󰁔" marked-icon: ""
multilinestyle: multilinestyle:
rows: rows:
# TODO: show if already note attached; have info window display note content? - "<cyan>{doc.alias('type')} {doc['ref']} {doc.forfile('')}</cyan>"
- "{' ' if 'priority' not in doc or doc['priority'] > 3 else '<red>󱝇 </red>' if doc['priority'] <= 1 else '<yellow>󱝇 </yellow>'}<cyan>{doc.alias('type')} {doc['ref']}</cyan> {doc.alias('readstatus')} {' 󰘓 ' if doc['notes'] else ''}"
- "<white><bold>{doc.html_escape['title']}</bold></white>" - "<white><bold>{doc.html_escape['title']}</bold></white>"
- "<blue>{doc.html_escape['author']}</blue>" - "<blue>{doc.html_escape['author']}</blue>"
- "{doc.foreach('tags', '<lightgray>(</lightgray><gray><dim>{}</dim></gray><lightgray>)</lightgray>', split = ', ', sep = ' ')}" - "{doc.foreach('tags', '<lightgray>(</lightgray><lightgray><dim>{}</dim></lightgray><gray>)</gray>', split = ', ', sep = ' ')}"
tablestyle: tablestyle:
separator: " " separator: " "
headerstyle: "underline|bold" headerstyle: "underline|bold"
@ -27,59 +16,30 @@ documentlist:
cursorrowstyle: "black_white|bold" cursorrowstyle: "black_white|bold"
columns: columns:
- { - {
header: "󱝇", header: " #",
content: "{'' if 'priority' not in doc or doc['priority'] > 3 else '󰝥' if doc['priority'] <= 1 else '󰝦'}", content: "{doc.alias('type')} {str(len(doc.get_files()) if len(doc.get_files()) > 0 else '')}",
width: 1, width: 3,
} }
- { - { header: "Reference", content: "@{doc['ref']}", width: 15 }
header: "󰑇",
content: "{'󰗠' if doc['readstatus'] == 'read' else '󰗡' if doc['readstatus'] == 'skimmed' else ' '}",
width: 1,
}
- {
header: "",
content: "{'󰎚' if doc['notes'] else '󰎛' if doc['note'] else ' '}",
width: 1,
}
- {
header: "󰉺",
content: "{doc.alias('type')}",
width: 1,
}
- { header: "Authors", content: "{doc['author']}", width: 25 }
- { header: "Year", content: "{str(doc['year'])}", width: 4 } - { header: "Year", content: "{str(doc['year'])}", width: 4 }
- { header: "Title", content: "{doc['title']}", width: 125 } - { header: "Authors", content: "{doc['author']}", width: 20 }
- { header: "Reference", content: "{doc['ref']}", width: 15 } - { header: "Title", content: "{doc['title']}", width: 200 }
- {
header: "󰘓",
content: "{str(len(doc.get_files()) if len(doc.get_files()) > 0 else '')}",
width: 1,
}
- { header: "Tags", content: "{doc['tags'] if isinstance(doc['tags'], str) else doc.foreach('tags', '{}', sep=', ')}", width: 35 }
aliases: aliases:
type: type:
{ {
article: "", article: "",
book: "", book: "",
inbook: "",
incollection: "󰪧", incollection: "󰪧",
software: "󰅩", inbook: '',
software: "",
presentation: "󰐨", presentation: "󰐨",
thesis: "", thesis: "",
techreport: "󰁰", _default_: "",
_default_: "",
} }
readstatus:
{
read: "<green>󰗠</green>",
skimmed: "<yellow>󰗡</yellow>"
}
keymappings: keymappings:
q: quit q: quit
"?": help "?": help
T: toggle_style S: toggle_style
S: cmd "sort "
/: search_mode /: search_mode
<key_down>: scroll_down <key_down>: scroll_down
<key_up>: scroll_up <key_up>: scroll_up
@ -91,96 +51,29 @@ keymappings:
k: scroll_up k: scroll_up
o: open -r "pdf$" o: open -r "pdf$"
O: open -d O: open -d
b: browse r: view_reset
B: browse -k doi R: reload
R: view_reset e: edit
<c-r>: reload n: papis edit -n papis_id:{doc['papis_id']}
e:
- edit
- edit info
n:
- papis edit -n papis_id:{doc['papis_id']}
- edit notes
"'n":
- search "notes:.+"
- limit to entries with notes
"'u":
- search "readstatus:read OR readstatus:skimmed"
- limit to read entries
"'r":
- search "NOT readstatus:read AND NOT readstatus:skimmed"
- limit to unread entries
" ": mark_selected " ": mark_selected
mm: mark_selected mm: mark_selected
M: mark_down M: mark_down
J: mark_down
mu: unmark_all mu: unmark_all
mv: mark_view mv: mark_view
",t": cmd "tag " t: cmd "tag "
",r":
- papis update -s readstatus read papis_id:{doc['papis_id']}
- set readstatus read
",k":
- papis update -s readstatus skimmed papis_id:{doc['papis_id']}
- set readstatus skimmed
",u":
- papis update -s readstatus "" papis_id:{doc['papis_id']}
- set readstatus unread
",ph":
- papis update -s priority 1 papis_id:{doc['papis_id']}
- set priority high
",pm":
- papis update -s priority 2 read papis_id:{doc['papis_id']}
- set priority medium
",pl":
- papis update -s priority 3 read papis_id:{doc['papis_id']}
- set priority low
i: i:
- info_toggle - info_toggle
- "Toggle info window" - "Toggle info window"
I: I:
- info_cycle - info_cycle
- "Cycle info windows" - "Cycle info windows"
<ctrl-p>: info_scroll_up
<ctrl-n>: info_scroll_down
# all require 'clip' script to be available on PATH
yy:
- copy_to_clipboard "[@{doc['ref']}]"
- yank pandoc-styled reference
ss:
- vim_send "[@{doc['ref']}]"
- send vim pandoc-styled reference
yl:
- copy_to_clipboard "\\cite\{{doc['ref']}\}"
- yank latex-styled reference
sl:
- vim_send "\\cite\{{doc['ref']}\}"
- send vim latex-styled reference
yr:
- copy_to_clipboard "{format_reference(doc,style='apa')}"
- yank apa-styled reference
sr:
- vim_send "{format_reference(doc,style='apa')}"
- send vim apa-styled reference
yt:
- copy_to_clipboard "{doc['title']}"
- yank title
yu:
- copy_to_clipboard "{doc['url']}"
- yank url
yd:
- copy_to_clipboard "{doc['doi']}"
- yank doi
# TODO look into https://github.com/supersambo/papis-tui vim-send mappings # TODO look into https://github.com/supersambo/papis-tui vim-send mappings
infowindow: infowindow:
default_on: False default_on: False
views: views:
doc:
content: "author: {doc['author'].strip()}\n title: {doc['title'].strip()}\n tags:{doc['tags'] if isinstance(doc['tags'], str) else doc.foreach('tags', '{}', sep=', ')}"
height: 8
apa: apa:
content: "{format_reference(doc,style='apa')}" content: "{format_reference(doc)}"
abstract: abstract:
content: "{doc['abstract']}" content: "{doc['abstract']}"
linewrap: True linewrap: True
@ -188,7 +81,7 @@ infowindow:
commandline: commandline:
search: search:
keyword_aliases: { a: "author:", t: "title:", y: "year:", k: "tags:" } keyword_aliases: {a: 'author:', t: 'title:', y: 'year:', k: 'tags:'}
statusbar: statusbar:
left: left:
@ -199,3 +92,4 @@ statusbar:
search: "<black_magenta><bold> {info['mode_upper']} </black_magenta></bold><magenta_bg></magenta_bg>" search: "<black_magenta><bold> {info['mode_upper']} </black_magenta></bold><magenta_bg></magenta_bg>"
right: right:
default: "<green>{info['sortkeys']} </green><cyan_bg></cyan_bg><black_cyan> {info['idx']} < {info['marked']} < {info['view']} < {info['items']} </black_cyan>" default: "<green>{info['sortkeys']} </green><cyan_bg></cyan_bg><black_cyan> {info['idx']} < {info['marked']} < {info['view']} < {info['items']} </black_cyan>"