dotfiles/sh
Marty Oehme c487da69a8
nvim: Add molten and image.nvim plugins
Image nvim works mostly well (slow on wezterm but that will always be the case
with kitty protocol for now as far as I know).
Would love to be able to toggle images on/off dynamically but I don't see a
way to accomplish that now. (or really, get to any option of the plugin).

Molten itself also works well - the output is displayed more nicely than for
the Magma plugins and everything continues working mostly well (or rather,
just as wonky as I had it set up on my older magma install :)

For now, the molten - image.nvim integration seems to not work at all -
it simply errors out when it would produce an image as output. No clue why
and it also complains about the wrong image provider (which I have taken from
the molten readme). No time to bugfix now but maybe at some point.

To do - find a much better way of installing the image.nvim required
luarock magick - done manually with hardcoded path in setup now

Also extended the old `py` alias to a full-blown script which will in
addition to detecting the python repl also find any running molten
session for the current directory (i.e. any running jupy kernel) and let
the user choose the right one if there is multiple. Will then default to
starting a kernel-aware repl environment (euporia or jupyter-console).

Added a very simple `-c` option which lets you choose python command to
run manually.
2023-12-12 12:07:41 +01:00
..
.config/sh nvim: Add molten and image.nvim plugins 2023-12-12 12:07:41 +01:00
.local/bin sh: Add default open script 2023-12-04 08:26:59 +01:00
README.md sh: Add internet-check base script 2021-09-24 11:16:29 +02:00

sh

The bare minimum terminal configuration for a working system. Contains:

  • an XDG compliant home directory setup
  • several basic environment variables
  • simple aliases
  • an optional fzf default setup
  • X autostart

While other modules are largely optional, this module is the only one strictly necessary for the system to really work at all.

Additionally contains two scripts on which some other modules build:

  • a simple script to detect if applications exist (and optionally warn the user if they don't)
  • and a script to check if internet connectivity exists