Commit graph

1606 commits

Author SHA1 Message Date
7723f43a5b
nvim: Add grug rg find and replace picking plugin 2024-08-14 23:11:49 +02:00
86dfc5ecbc
nvim: Lazy load most mini.nvim modules
Except for mini.starter which we need right at the - well - start, we
can lazy load most other modules. It's a little awkward since we lazy
load them *within* the setup function with a manual autocommand but it
should work fine for the time being.
2024-08-14 23:11:02 +02:00
b2e0621d12
wezterm: Decouple toggleterm plugin from ui module
For now lives in a 'terminal.lua' module instead.
2024-08-14 12:03:23 +02:00
94b0d93926
wezterm: Add experimental tab naming mapping
This is something I used to use quite a bit in tmux. I have a feeling I
will not be making extensive use of it in wezterm, but can always remove
it if I reach the point of forgetting the mapping later.
2024-08-13 22:55:14 +02:00
2dd5f6e02d
wezterm: Change pane movement mappings
Added mapping `<leader><c-q>` to select a pane which will be moved out
to a new tab.

Slightly changed pane switching on `<leader><s-q>` to keep focus on the
pane instead of switching to the other pane.

Finally, added two simple relative tab movement maps to cycle forward
with `<leader>.` and reverse with `<leader>,`. This replaces the old tab
movement (moving the actual tab around) left and right which are now on
`<leader><s-,>` and `<ledaer><s-.>` respectively.
2024-08-13 22:53:27 +02:00
bec8f4e2e7
nvim: Unify file browsers and telescope as pickers
Since they are all used for file picking (among editing and creating)
I'll just have them run under pickers for now. If the name turns out to
be confusing or not descriptive anymore I can still change it at any
time.
2024-08-13 13:47:10 +02:00
18f12f9068
nvim: Improve markdown rendering
Remove redundant conceallevel fix (not required for quarto files
anymore), add additional filetype injections and do not highlight
codeblocks as much (no sign colum entry, bg not over whole doc width).
2024-08-13 13:19:56 +02:00
bd29839910
qutebrowser: Fix visual selection errors, typehints 2024-08-12 21:26:29 +02:00
9750e943b9
nvim: Update plugins 2024-08-12 21:25:41 +02:00
ca0e08fab5
nvim: Fix python venv utility function 2024-08-12 21:25:31 +02:00
bfbe4c36cd
nvim: Update dial version and changed key maps
Changed maps to increment on <C-S> (instead of the usual <C-A>) and
decrement on the typical <C-X>. This makes it work much better with
wezterm leader key (<C-A>) and as far as I can see does not directly
clash with any other binds.
2024-08-12 21:16:50 +02:00
d4727a3402
nvim: Fix newly linted errors 2024-08-12 21:16:49 +02:00
61d34e49c7
nvim: Switch to lazydev lua lsp setup
Much easier lua development setup.
2024-08-12 21:16:48 +02:00
4be3a42ffa
nvim: Simplify formatter loading
Since we use Mason to automatically install any formatter we need, there
is (currently) no need for the more complicated logic of deciding
between multiple formatters (since the one we prefer should always be
available). This also fixes an issue that we can set 'prettier' specific
options in conform.nvim but those do not apply to 'prettierd' the same
way - we now just use prettier and ignore prettierd.
2024-08-12 19:45:11 +02:00
be842ce622
nvim: Simplify molten statusline function
Instead of doing all kinds of security checks beforehand, we simply wrap
the molten kernel check into a lua protected call and return an empty
result if we would error. We only return the symbol if we don't error
and we have an active kernel.
2024-08-12 19:45:10 +02:00
38bdf74954
bootstrap: Update package list 2024-08-07 22:21:27 +02:00
41d2b5b628
nvim: Rename ide to testing plugins 2024-08-07 21:17:32 +02:00
6a7385ed26
nvim: Split formatting off ide plugins 2024-08-07 21:17:18 +02:00
1e44ef4c11
nvim: Remove harper lsp
For the time being remove harper (code spellcheck) lsp from the
automatically loaded LSPs. It's not *bad* per se but also requires way
more setup for me to be useful and throws up false positives all over
the place. Worst of all though it does not seem to actually stop
producing diagnostics when it is stopped (with `LspStop <harper-id>`)
like all the other LSPs do, so there is no way to get rid of its
results.
2024-08-07 21:17:17 +02:00
4f2acad60d
nvim: Add todo comment highlighting plugin
Added todo-comments.nvim plugin by folke, which will automatically
highlight (in a sane color) all the `TODO:`, `FIXME:`, `WARN:`, and more
comments within code.
2024-08-07 21:17:17 +02:00
490aadc433
nvim: Add spelling and abbreviations 2024-08-07 20:05:42 +02:00
ea2ba7f0ad
scripts: Add printout of vidl moving files 2024-08-07 20:02:41 +02:00
d9779ba966
papis: Remove test journal csv 2024-08-07 20:02:13 +02:00
2ddf69c244
nvim: Refactor lsp, linting and outliners away from ide
Start splitting up ide plugin module by splitting out individual
modules.
2024-07-30 14:37:20 +02:00
95de192924
nvim: Update plugins 2024-07-30 07:55:07 +02:00
7b9abab298
nvim: Improve quarto syntax rendering
Removed the standalone vim-pandoc-syntax plugin since I have not really
been using its functionality for a long time. Additionally, set reduce
conceallevel in markdown and quarto files to 2 for the time being to
prevent some rendering errors (especially on headlines) when interacting
with the markdown.nvim (render-markdown) plugin.
2024-07-30 07:54:38 +02:00
63cc63bb70
river: Add quick emergency clipboard clear shortcut
Use `Mod+Shift+Control + Space` to clear all. Basically is the same
shortcut as *showing* the clipboard, only with control pressed on
additionally.
2024-07-29 22:54:58 +02:00
7af5fca62a
nvim: Exchange headlines plugin for markdown.nvim
To render markdown highlights and a few other things (list items, code
blocks, callouts, etc) we switched from headlines.nvim to markdown.nvim
(internally ralled render-markdown).
This now also enables quick switching between showing the rendered
output and raw markdown (`<leader>pp`).
2024-07-26 15:33:43 +02:00
32e743edba
vimiv: Add scale keys a and s
Like in zathura, like in sioyek, we use a to view the image in 1:1
scale, or s to fit it to the screen (or S to specifically fit its width
to the screen).
2024-07-26 11:49:53 +02:00
575e17a924
vimiv: Add batch marking images
Use `V` in the library or thumbnail view to mark contiguous images,
mimicking vim visual selection mode.
2024-07-26 11:42:42 +02:00
2fcaad5c1c
vidl: Slightly improve url ingestion and error output 2024-07-26 10:57:21 +02:00
017668792c
waybar: Improve vpn block icon rendering
This is a change which is very much hardcoded for my setup, but the vpn
block will now give preference to displaying individual VPN types from
top to bottom:

If privateinternetaccess is connected, it will display its icon.
If proton is connected, it will display its icon.
If netbird is connected it will display its icon.
If nothing is connected it will display nothing.

It is still quite a hacky solution and should also be replaced by a
signal-driven system instead of the recurrent polling it does currently
(it only polls once a minute atm, to keep system load/battery drain low
but since it invokes a lot of external commands, e.g. piactl and
netbird, it should really only be invoked on vpn changes).
2024-07-26 10:56:36 +02:00
12d186d871
waybar: Improve events block icon rendering
Using the 'alt' json return field to set the icon and change the icon
within waybar itself instead of doing so manually in the script. This
makes us a little more flexible and puts all the 'what' is rendered that
is specific to waybar into waybar (keeping the 'how' it's rendered in
the style.css).
2024-07-25 22:15:12 +02:00
6905ce3ea7
waybar: Change calendar block whitespace
When there are no new calendar events for the current day we do not
display any whitespace after the icon.
2024-07-25 22:01:50 +02:00
7a051952fc
nvim: Update which-key mapping functions
Use new which-key mapping `.add()` functions after `.register()` has
been deprecated with which-key 3.0.0.
2024-07-24 14:53:48 +02:00
d45d220b52
nvim: Update plugins 2024-07-24 14:13:14 +02:00
1b4f73ae9b
nvim: Do not establish quarto molten session on open
We now disable the automatic establishing of quarto molten sessions
(using the virtual environment provided python interpreter) as soon as
the file is opened since it can have some negative side-effects and also
slows down quarto file opening.
Instead, use the `JupyterStart` command to establish a jupyter session
in the correct environment and initialize a molten session.

The behaviour can be re-enabled with
`vim.g.quarto_auto_init_molten_session = true`.
2024-07-24 14:13:01 +02:00
a94b1ccbb2
nvim: Add vs shell alias to start vim stratchpad 2024-07-24 14:09:47 +02:00
4779617b2b
newsboat: Change sync and read toggle keys
Changed keys to be a little more coherent with neomutt setup: o/O reload
the current or all feeds (previously r/R);
m/M mark the current feed/all feeds read (previously a/A) if in the feed
list. If in another dialog, m toggles the individual selected article
read.
2024-07-20 16:54:10 +02:00
0b5c7d09d5
nvim: Remove quarto fn snippet
Removed `fn` snippet from quarto snippets since we already have the
functionally equivalent `]]` snippet for markdown (which quarto
extends).
2024-07-20 16:50:42 +02:00
88f187160a
nvim: FormatDisable disables globally with a bang
Switch the functionality of `FormatDisable` command around: Disables for
the local buffer by default and disables globally if called with a bang.
2024-07-20 16:50:00 +02:00
d2a2537df0
nvim: Enable json lsp 2024-07-20 16:48:54 +02:00
f5592b5e85
vifm: JupyterStart always uses sessionfile
Make JupyterStart always use the buffer sessionfile (or create the
default one if none exists) instead of only on first run.
2024-07-20 16:48:34 +02:00
a16364a61b
sioyek: Enable highlights for all search results
All search results are highlighted, not just the currently selected. As
of now only works with the development version of the program not the
current release version (2.0.0).
2024-07-20 16:47:13 +02:00
9deacabbef
vifm: Add batch file modification shortcut
Use `,r` to enter an $EDITOR instance in which you can
rename/delete/modify the files in the current directory. (using vidir
program under the hood)
2024-07-20 16:45:55 +02:00
9a7b8c824d
qutebrowser: Switch to html ddg startpage 2024-07-20 16:44:35 +02:00
19c95400f7
nvim: Add scratchpad item to start screen
Added an item to quickly create a scratchpad to the mini.starter
template.

The difference to opening a default empty buffer is that it is seen as
ephemeral (i.e. will not complain if you close vim without saving) and
it sets the default filetype to markdown.

Closes 753ed1f.
2024-07-20 14:01:31 +02:00
01809f1ee5
qutebrowser: Add bookwyrm search engine 2024-07-03 09:46:42 +02:00
db86edf4ce
nvim: Fix lsp key mapping for markdown files
We forgot to pass through the original on_attach function when loading
the custom marksman one, now fixed.
2024-07-03 09:46:13 +02:00
011942e049
nvim: Update plugins 2024-07-02 13:08:19 +02:00