Commit graph

1972 commits

Author SHA1 Message Date
1397fee17a
nvim: Enable fzf-lua integration for codecompanion
Since version 15.5.0 it supports showing selection menus with fzf-lua,
so we enable it here. Hardcoded for now.
2025-06-09 14:38:09 +02:00
19f3cd3457
nvim: Add copilot status to lualine 2025-06-09 14:38:09 +02:00
d3cdd0b30a
nvim: Fix llm models used by codecompanion 2025-06-09 14:38:08 +02:00
9efbcbfa01
nvim: Replace copilot.vim with copilot.lua
Makes the plugin less intrusive (will now only autocomplete on <M-p> or
<leader>ap). Can select suggestion with <M-]> or <M-[>, and accept with
<M-p> in-text or <CR> in-panel.

Still automatically started when invoking CodeCompanion chat.
2025-06-09 14:38:08 +02:00
f160a5b4a7
nvim: Update zk-nvim
Changes filetypes option placement in configuration.
2025-06-06 22:30:35 +02:00
0a927afe60
repo: Remove quarto snippets file from being linked 2025-06-06 22:30:34 +02:00
21e80aeb87
nvim: Fix markdown rendering in codecompanion buffers 2025-06-06 15:58:45 +02:00
e912c3f535
nvim: Add vue language LSP/Treesitter/formatting setup 2025-06-06 15:58:44 +02:00
1f05e0775d
nvim: Add mason env utility function
Should return the mason environment for lsp servers to be able to set it
in the 'core/languages.lua' list.

However, currently it is initialized too early (I think), before
mason.nvim, and thus never gets the initialized env var.
2025-06-06 15:58:44 +02:00
9900750e81
nvim: Change creating lsp servers into local function 2025-06-06 15:58:43 +02:00
d2432e0039
nvim: Extend lsp configuration with multiple declarations
So far if LSP declarations in 'core/languages.lua' were duplicated (e.g.
the 'astro' filetype and the 'vue' filetype both declare the
'typescript' lsp), one would simply overwrite the other. That is fine as
long as there is no custom setup, but if there is one of them is lost.

This commit changes it so that the different configurations extend each
other. The 'latter' one still overwrites the former but this is just
what must happen if there should be conflicting setups. 

May increase loading time slightly.
2025-06-06 15:58:43 +02:00
1d5fbef0fb
nvim: Use new non-programmatic lspconfig interface for 0.11 2025-06-06 15:58:42 +02:00
b22334c442
jj: Add tug alias to move forward most recent bookmark 2025-06-06 15:58:42 +02:00
5913948705
nvim: Check linter existence before setting options
We only change 'markdownlint' arguments if it actually exists in the
nvim-lint 'linters' table.
2025-06-06 15:58:41 +02:00
cf9a25d1c6
nvim: Use uv for running python coverage
Still needs to be improved and less hardcoded but for now at least we
use the tool that I use every day.
2025-06-06 15:58:41 +02:00
59223d1003
wezterm: By default connect mux to domain called unix
If we start wezterm muxing we now always connect to the same default
domain. This is a tiny step toward true multiplexing with wezterm.
2025-06-06 15:58:40 +02:00
4d8f554197
jj: Move git_head display to end of single-log line
It was moving about the change dates too much and not super necessary
for information, so moved it further down the line.
2025-06-06 15:58:39 +02:00
86d358627c
papis: Use new formatter configuration option
Replaces deprecated 'formater'.
2025-06-06 15:58:39 +02:00
2bdfb291ae
nvim: Add jj source to neotree 2025-06-06 15:58:38 +02:00
b1f751a82d
jj: Improve jj WIP commit search
Restrict the default search to commits _starting_ with 'WIP:',
to avoid accidentally selecting commits which just contain the word
'WIP:' somewhere in the description.
2025-05-23 10:44:21 +02:00
83e2b9f31b
jj: Add alias to list all bookmarks 2025-05-22 14:00:10 +02:00
4dc4ab39a6
jj: Add alias to show WIP commits.
`jlfw` will quickly list every commit that contains 'WIP:'. Quicker
version of `jlf 'WIP:'`.
2025-05-22 14:00:10 +02:00
7d9a85ec48
jj: Remove deprecated git subprocess configuration
Since jj moved to use git as a subprocess by default a couple versions
ago, they now deprecated the git.subprocess configuration option (jj
version 0.29). This commit removes it.
2025-05-22 14:00:09 +02:00
f68a62f377
task: Add aliases for showing tasks done
Can show tasks accomplished today (tdd, 'Task Done toDay'), since
yesterday (tdy, 'Task Done since Yesterday'), or in the last week (tdw,
'Task Done in the Week').
2025-05-22 14:00:09 +02:00
d1f4c4ab8f
task: Remove taskwarrior hooks
Taskwarrior hooks are removed from this general dotfiles repo, as they
are instead included in my taskwarrior 'task' folder (and project)
itself. Each hook belongs to exactly one taskwarrior repository and thus
they should also exist there and not anywhere else, is my current
opinion.

This is especially so since I believe most people use exactly one
taskwarrior repository (me included). So for the moment it just makes
the most sense to have these two things live side-by-side instead of in
this more general configuration repository.
2025-05-22 14:00:08 +02:00
d2be1c8795
nvim: Change mapping for printing Fidget message history
Since it is technically vim-internal (and relatively rarely used unless
to debug things), I have moved the shortcut for this function from
`<leader>sh` (show-history) to `<leader>vp` (vim-print-messages).

The 'p'-suffix is a little unfortunate but currently h/H/m are all taken
in this vim-internal submenu.

The reasoning behind this is that the 'show' menu is intended primarily
for user-facing, middle-of-work tasks and windows that help me
accomplish goals when actually working and getting things done.
Showing the fidget history does not do that, but allows
introspection into the vim editor history. So, it should accordingly
live under the 'vim' menu. Additionally, it frees space in the
'show' menu and lets me/the user forget about the functionality
until it is needed.
2025-05-22 14:00:08 +02:00
15015e61e0
nvim: Add neowarrior plugin
Allows quickly listing and working with taskwarrior tasks from within
neovim. Show a floating `:NeoWarriorOpen` window with `<leader>sw` or a
vertical neowarrior buffer with `<leader>sW`.
2025-05-22 14:00:07 +02:00
76330c142a
vifm: Add theoretic live preview for videos using chafa
Not used currently because with the current setup (ffmpeg, chafa+sixel,
wezterm) it's too slow but kept as a nice implementation idea
nonetheless.
2025-05-22 13:58:19 +02:00
84ab839612
vifm: Add pdf and webp preview
Added pdf previews using pdftoppm to convert into chafa-readable format,
directly piped to the previewer.
2025-05-09 10:38:52 +02:00
67ac2da785
vifm: Remove chafa preview iterm hard-coding
We are using chafa to preview the image and video files but would always
default to the iterm implementation. This has been removed: The foot
terminal does not support iTerm and hard-coding makes us too tightly
coupled to wezterm. But even wezterm functions well with chafa without
the forced iterm usage - we simply use sixels instead.

Remove video preview frame hard-coded file caching and instead pipe
directly into chafa preview.
2025-05-09 10:38:51 +02:00
9db181c35e
task: Change 'tod' alias to 'td' for task today 2025-05-09 10:38:50 +02:00
2c72d2ee1f
river: Set Adwaita xcursor theme if available
Currently we do not set any cursor theme in our river compositor. This
commit changes it to be set if the Adwaita/cursor icon directory is
available.

This does _not_ mean all applications will use Adwaita cursors
unfortunately. In Wayland applications themselves decide what to do, so
some applications do not respect the setting, e.g. GTK applications.

See the following links for more info: 

https://reddit.com/r/voidlinux/comments/wnfwy5/some_apps_not_inheriting_mouse_cursor_theme/

https://codeberg.org/river/wiki

https://codeberg.org/river/river/issues?state=all&type=all&labels=&milestone=0&project=0&assignee=0&poster=0&q=xcursor
2025-05-09 10:38:50 +02:00
bd1fe2eb1f
jrnl: Update version number 2025-05-09 10:38:49 +02:00
bcf94703ec
nvim: Update plugins 2025-05-09 10:38:49 +02:00
c30ad4ba4b
task: Fix path separator in taskrc
Remove redundant path separator at end of data path.
2025-05-09 10:38:48 +02:00
3dd6e7b254
qute: Update deprecated taskadd mapping
Uses (not-so-) new 'cmd-set-text' syntax instead of the deprecated
version. Retains all other functionality.
2025-05-09 10:38:48 +02:00
727800a56a
mutt: Prefer bat to glow for html text display
WIP: Try out nvim taskwarrior stuff
2025-05-04 19:55:09 +02:00
9915fcd2bf
wezterm: Fix italic font display
Accidentally displayed as italic and bold by default, now displaying
regular weight except for actually bold italic fonts.
2025-05-04 19:55:08 +02:00
62301917da
nvim: Prefer vim.o option getter 2025-05-04 19:55:08 +02:00
96cab3d9a6
nvim: Update lsp diagnostics keys
Can show hide diagnostics, virtual text and virtual lines independently.
2025-05-04 19:55:07 +02:00
642d422007
nvim: Update yank highlight for vim 0.11 2025-05-04 19:55:07 +02:00
ecf26880ed
task: Substitute taskopen for my own topen
https://github.com/marty-oehme/topen
2025-05-04 19:55:06 +02:00
af5d5783a5
nvim: Update plugins and spellfile 2025-05-04 19:55:06 +02:00
03a68a9fdb
nvim: Change snippets to vscode json style
Translated markdown snippets to json style.
Could completely remove quarto snippets since they are integrated into
friendly snippets by now.
2025-05-04 19:55:05 +02:00
36936142f6
services: Fix user profile path spelling
Fixes loading the user environment variables into user services again,
this time by fixing a missing `$` creating a false path to load from.
2025-05-04 19:55:02 +02:00
d69a0f40e1
qutebrowser: Make xdg-utils optional
Replace all hard-coded instances of using xdg-open with at least one
non-xdg alternative. Mostly falling back to either mimeo or a custom
open script.
2025-03-19 21:30:02 +01:00
ff2ae79878
nvim: Move to image.nvim fork which works with typst
Though ostensibly compatible with typst, there is a show-stopping issue
with the main image.nvim fork which means an error message whenever
there is more than one typst buffer open (e.g. two side-by-side, or
opening a fzf-lua windows with typst previews, and so on).

Until that is fixed, use this fork. Issue here: https://github.com/3rd/image.nvim/pull/280
2025-03-19 21:30:02 +01:00
2f618d65d5
qutebrowser: Remove xdg-utils dependency from recently-downloaded
First uses the 'open' command if there is one, then the 'mimeo' command
and only then falls back to 'xdg-open'.
2025-03-19 21:30:01 +01:00
caae3513a9 bootstrap: Add argument passing to dotlink
Dotlink now takes arbitrary arguments which it all simply passes through
to dotter underneath.
Also made the directory changing a little more flexible.
2025-03-19 21:30:01 +01:00
0942a9bc9f repo: Fix linking quarto snippets symlink
Dotter recognized it as a jinja template and so we explicitly need to
tell it that it's a symlink instead.
2025-03-19 21:30:01 +01:00