Commit graph

477 commits

Author SHA1 Message Date
13ef79079b
nvim: Update to newer nushell treesitter version 2025-03-15 20:08:45 +01:00
faaaa81f91
nvim: Switch to external luarocks dependency
Using external luarocks instead of a luarocks plugin for now. The amount
of dependencies to install is not smaller the other way now (having to
install libreadline-devel) so this should be fine.

I have captured more info in daily log 2025-03-11 on my reasoning.
Suffice it to say: both lazy.nvim 'hererocks' installation, this
external luarocks dep and the luarocks.nvim plugin are brittle in their
own ways. 

For now, I have settled on the external dependency as it remains the
simplest way to achieve what I want (image.nvim) pictures. Though it
requires quite a few dependencies overall:

`xbps-install lua51 lua51-devel luarocks-lua51 ImageMagick libmagick-devel`
2025-03-15 20:08:43 +01:00
fe79287559
nvim: Update plugins 2025-03-15 20:08:40 +01:00
15cf9b192b
nvim: Fix zk commands always being created
They were under a conditional which would only have them be created if
which-key plugin was found beforehand.
2025-03-10 20:22:03 +01:00
2eebe047f6
nvim: Remove fzf select one option
Removed the default option select one, it did not do anything. Now
trying with a 'default' opt for the actual plugin.
2025-03-10 20:22:03 +01:00
07a619060a
nvim: Disable history when editing jrnl files 2025-03-10 20:21:59 +01:00
9a53fd5775 nvim: Update plugins
Updated plugins. Forced blink.cmp to stay on version 0.11.x since 0.12.x
versions have a new `exact` match comparator which breaks my config.

See <https://github.com/Saghen/blink.cmp/releases/tag/v0.12.0>.

This is perhaps a bug in the interaction with the nvim-cmp compatibility
layer, but for now we can just pin back the version until it is fixed.
2025-02-25 23:25:23 +01:00
068fc77019
nvim: Only enable markdown mdeval mappings if available
Check for the existence of the 'mdeval' plugin before setting the
corresponding key mappings in markdown type files.
2025-02-22 19:35:39 +01:00
18ce017b8a
nvim: Add djot filetype to prose plugins
Since it is (basically) markdown, we add it to markdown-like filetypes.
2025-02-18 22:41:41 +01:00
65bb7aa034
nvim: Add djot filetype detection 2025-02-18 22:41:39 +01:00
9df2d06a06
nvim: Add previews for images and gifs to fzf-lua 2025-02-14 10:47:52 +01:00
36232855cc nvim: Add hunk.nvim as jj difftool 2025-02-07 21:51:46 +01:00
d724d75bf7 nvim: Switch from telescope to fzf-lua for fuzzy picker 2025-02-07 21:18:16 +01:00
8a57725f15
nvim: Limit indentscope to reasonable max lines
Stops looking for a scope after 2000 lines (instead of the default
10000).
2025-02-07 16:41:06 +01:00
d3e325db86
nvim: Fix small lsp issues 2025-02-07 16:27:50 +01:00
c4ecc41ab9
nvim: Update plugins 2025-02-07 16:04:11 +01:00
d501688031
nvim: Lazy load more plugins 2025-02-07 15:53:11 +01:00
a3a5488dcd
nvim: Add keymap to toggle rendering all images
By default we only render the image at the cursor. Should we want to
render all images instead we can now toggle this for image.nvim with
<localleader>pi.

To enable this we move the 'paste image' shortcut for prose formats onto
<localleader>pp instead.
2025-02-07 15:16:49 +01:00
ebd247e765
nvim: Lazy load molten plugin 2025-02-07 15:05:23 +01:00
1e2246aa51
nvim: Disable additional builtin plugins 2025-02-07 14:36:57 +01:00
bff8f07e60
nvim: Update spellfile 2025-02-07 13:13:57 +01:00
3201039557
nvim: Remove leftover papis plugin comments 2025-02-07 13:13:08 +01:00
083ef0a6ad
zk: Move nvim wiki index opening to zk module
While technically invoking nvim, it belongs more into the zk module
since it is only to be added if zk exists.
2025-02-07 13:11:52 +01:00
fd01c8aac2
nvim: Add whichkey group for codecompanion 2025-02-06 14:10:56 +01:00
99eada00b8
nvim: Improve custom toggle terms
Added euporia term to split it from other python variations. Fixed
python command selection. Improved mapping and which key display.
Removed indentline settings since that is responsibility of indentline.
2025-02-06 14:10:55 +01:00
101937a8c2
nvim: Fix image.nvim functionality
Track master since no new version has been tagged. Change some settings
around and make installation more robust using the new lazy rocks
system.
2025-02-06 14:10:54 +01:00
9d15bc79f4
nvim: Clean up markdown/quarto key maps 2025-02-06 13:09:28 +01:00
7d616c1cb5
nvim: Improve indentscope disables
Improved conditional disabling of indentscope lines, e.g. in lazy and
mason floats, terminals and helpfiles.
2025-02-06 12:02:18 +01:00
50d78cbb2f
nvim: Overhaul prose preview keys 2025-02-05 19:05:50 +01:00
9421ef807d
nvim: Remove lsp-setup.nvim plugin
Removed the plugin since all its functionality can be replicated with an
equal amount of lines without it nowadays. Should be even simpler in the
future when we can just have individual lsp server config files in the
config dir.
2025-02-05 18:37:55 +01:00
ad3c8a6139
nvim: Lazy load completion on insert mode only 2025-02-05 18:28:51 +01:00
ba6a8c16ce
nvim: Simplify statusline python check 2025-02-05 18:28:17 +01:00
4d98c9ab46
nvim: Fix quarto jupyter kernel setup
Creates a hidden kernel file with the current filename and
'.kernel.json' suffix by default (in the file directory).
But 'JupyterStart' command can also be given an argument to use as the
filename / file path for the kernel file. That way we can also attach to
already running kernels for longer running projects.
2025-02-03 16:43:42 +01:00
6edd3143cb
nvim: Show markdown code blocks in full width 2025-02-03 16:38:38 +01:00
90161be418
nvim: Add check for local .venv python dir 2025-02-03 16:38:18 +01:00
8b5e4dc097
nvim: Do not always run ruff_fix
Ruff fix removes unused imports etc. which is sometimes more annoying
than helpful.
2025-02-01 10:46:22 +01:00
a5d28351cd
nvim: Ensure FeMaCo newline in codefence injections
When formatting femaco buffers it would sometimes remove the newline
necessary at the end of code fences to have the (```) remain on its own
line. This attempts to fix it.
2025-02-01 10:45:52 +01:00
ddaaa69795
nvim: Check if code evaluation maps set before overriding
If we already have <lleader>cc/cx mappings set before we come to set
them for markdown filetypes we will not override them.
2025-02-01 10:44:57 +01:00
d7d5c5f908
nvim: Update plugins 2025-01-31 12:38:06 +01:00
1848ec168b
nvim: Add simple LLM assisted programming
Added codecompanion as a test for LLM assistance during programming.
Will see how much I end up using it.
2025-01-31 12:37:56 +01:00
0f77a110d3
nvim: Track master for plenary
Ensure that we run the master branch version of plenary and do not
adhere to any versioned release since the newest is now multiple years
back.
2025-01-31 12:37:04 +01:00
8486f8f0f6
nvim: Change select all mapping
I only rarely use it these days, and it takes up a valuable 'menu'
space. Simply capitalize for now so it is more out of the way.
2025-01-31 12:36:09 +01:00
f4da232b79
nvim: Add pandoc completion to blink 2025-01-31 12:35:27 +01:00
3a10d7a849
nvim: Switch nvim-cmp for blink.cmp completion
Switched completion engines. Blink is supposedly faster and so on but
what I really love is the batteries-included style.
I don't have to set up the basic lsp, path, buffer and cmdline
completions, nor styling for basic kind displays and more.
Hundreds of lines of config shrink down to 60, very nice.
2025-01-31 09:51:05 +01:00
2618eb55b8
nvim: Add cmp completion for render-markdown items 2025-01-31 09:44:33 +01:00
49c9dfcc9b
nvim: Get beancount python env from dynamic home env
While we are still hacking our way around a specific pipx venv (which
has to change), we are at least not hardcoding my own home directory
name anymore.
2025-01-31 09:44:32 +01:00
99c4f67fbc
nvim: Enable formatting through typst lsp 2025-01-31 09:44:29 +01:00
3c7c0e1e87
nvim: Do not hide away html comments in md files
Why would I want to completely hide comments I left for myself.
2025-01-31 09:44:28 +01:00
9cc3495c31
nvim: Add nim lsp and formatting 2025-01-24 08:21:24 +01:00
2c1487ab93
repo: Remove traces of tmux configuration
While I never disliked tmux I have not been using it for absolute ages
now, ever since starting to multiplex with wezterm. Wezterm can (at
least with my current setup) *not* replace all tmux functionality -
especially running multiple sessions in a detachable way on a remote
server - but I have never needed those in a long time now.

Detachable sessions I can create instead with `abduco`.
2025-01-04 10:57:48 +01:00