Neovim sometimes errors out when enabling spelling without having all
the necessary spellfiles available. This ensures on setting up the
environment that a spellfile is downloaded.
Added continuous wallpaper setting and different settings for laptop use
(only one screen enabled) and docked use (two screens enabled and laptop
screen disabled) using the wonderful `kanshi` program.
Had to disable automatic formatting since it was messing with my
contributions to other git projects, if they did either not have a
formatter enabled (most of the time) or had different formatters or
those set up differently than this setup (fixable, but I don't think
it's worth the time).
Instead, formatting can be invoked with `<localleader>f`/`F` to format
or format and save respectively.
Generalized the font used from special ligaturized Iosevka to the
standard Iosevka installed in the bootstrap process.
Changed from a blindingly bright default color scheme to a nice dark one
(Nord).
Changed opening images by default to do so on the commandline itself,
using timg.
Other openers can still be invoked through the `:file` command like
before.
Added shell aliases for 'image listings' which aims to mimic the `ls`
command in a very simple way.
Invoke it via `il` to display a grid of all images residing in current
directory. Images are being detected not by their extension but by
running a `file` operation on, so in very large directories this might
take a little (though, your terminal will probably buckle under the
weight of displaying thousands of images anyway, so use with care).
`IL` provides the same functionality but recurses into an arbitrary
amount of subdirectories. Very useful to get an overview of a certain
directory and its children but, again, think for a second before using
since this could easily spew thousands of pictures into your term.
Updated buffer navigation to make use of the <c-w>hjkl paradigm instead
of the <c-hjkl> since it adheres closer to vanilla nvim and works better
with the new navigation features of Navigator.nvim.
Switched out the old distraction-free writing plugins for neovim
variants zen-mode and twilight by folke - they are simple (one command
to invoke zen-mode, mapped to `F11`, and that's it), they are written in
lua and they work together beautifully (invoking zen-mode also invokes
twilight paragraph highlighting).
Added the automatic display of calendar events or ics files to neomutt,
using the mutt-ics script (available in AUR).
Will display start/end time and participants directly in mail body.
Finally updated tmux scroll-mode yanking to use more vim-style bindings:
Use `v` to select text normally, `V` to select line-wise and `C-v` to
enable rectangle select. `y` yanks to the clipboard (and the internal
tmux register as previously).
Lastly, removed some left-over deprecated code concerning neovim cursor
shape behavior. Was already commented out but now removed completely.
HACK - the yanking to clipboard only works on wayland currently since it
uses `wl-copy` directly instead of the `clip` script. The `clip` script
is not invoked correctly with data being piped since it apparently does
not recognize that it is in a piped call?
Added `git fetchall` (or `gfa`) alias which allows fetching the current
branch from all connected remotes simultaneously. May have some
unintended side effects when branches diverge, this is untested.
Changed to display overall accumulation of tasks again.
Would overall probably be best to display a combination of accomplished
and still to be done tasks.
Automatically set brightness to 70% on startup.
Fixed options passed to rivercarro tiling manager (for current
rivercarro version, will have to be changed in future again).
These were largely remaining systemd services after I removed X and that
now dangle in limbo without working correctly.
Two services are not X related, which are the two dropdowns that I
rarely use anymore on riverwm. May substitute them for something similar
soon but do not need them at the moment.
Changed the hinting style for image viewing from rapid hinting to
normal, single link hinting.
In the future I will have to think more about image viewing
shortcuts in general:
I want to be able to open the current page, a single link (default) and
multiple links in quick succession - how to accomplish without
overloading the lleader+i mapping terribly?
Plus, ideally I would want there to be a shortcut to open both links
(hint links) and images themselves (hint images) which may require even
further mappings.
Added two mappings: localleader+i and localleader+I (localleader being ,
in my case) to open single images or galleries in nsxiv.
The maps make use of nsxiv-rifle and mirror the setup for opening video
in mpv with +m/+M where capital letters open the current page and small
ones let you follow a link.
Opens basically any path, local or remote in nsxiv.
Can take multiple paths to open all of them.
Additionally, alias whichever version of the image viewer is available
on the system as `iv`, using `nsxiv-rifle`, `nsxiv`, `sxiv` in order of
preference.
Whereas previously, zsh needed to be in vi mode to enter the editor with
current zle now we can *always* enter the mode with c-e. Since the
combination is not used for going to the end of the line or anything
anymore anyway, we can make it a bit easier to get into vim from the
zle.