If no arguments are provided to the git difftool aliases, just invoke
it with the default `git difftool main...current-branch`. This is what
we will use most of the time anyway as this is exactly the command
needed when we want to review our own changes before pushing upstream
or reviewing some other merge request.
Packer does not seem to be maintained. Version 2 being developed
by Lewis @ https://github.com/lewis6991/packer.nvim has breaking
changes. Migrating to Lazy will open it's own can of worms & it
does not use packages. Funny thing is author of Packer himself
uses Lazy.
We really should not be needing anything fancy. neovim can load
packages automatically from packpath. All we need is something
which will clone the packages to packpath and all those will be
automatically loaded.
paq.nvim which we were using before packer was the right choice
and does the bare minimum we stated above.
Rest all with features like fancy lazy loading is nonsense.
Do not make packer optional and remove use of after, cmd, config,
run and requires.
This is in preparation for testing if we can move off the plugin
manager and use in built packages support for handling packages.
While at it, drop unnecessary comments.
Adapted from Heftig's (Jan Alexander Steffens) note on IRC
git config --global alias.mdlog 'log --reverse --pretty=format:"- **%s** %w(0,2,2)%+b"'
This will format commits in a way that's nice for pasting into MR descriptions,
assuming the commit body is markdown.
Usually used like below
git mdlog @{u}.. | wl-copy
git mdlog origin/main.. | wl-copy
This reverts commit 058c37882d.
It is still helpful to have this it seems as without this working on
projects which do not have editorconfig becomes a pain.
Without an IPv4 address we seem to have trouble with some networks
being able to resolve our domain. We are not ready for IPv6 only
setting. This might also be creating problem of federating our
mastodon instance with other networks.
Would have loved to save 0.6 Euro on Hetzner by being IPv6 only.
clipboard support just seems to be completely flaky right now. Add
previous settings but instead of tmux specific commands use wayland
clipboard tools.
This should make it work everywhere. One downside of this setting is
we go back to polluting system clipboard every time & does not really
matter if we copy to + or * register. Both will result in a call to
wl-copy.
The recent tui changes to neovim cause some display issue after exiting
from it.
We need to provide the --pager option to bat for not exiting immediately
if the output size is smaller than the vertical size of the terminal.
See the --pager documentation in man bat. We use less -R instead of the
default less -RF.
Since we have a proper fontconfig in place, let that be the source
of truth for the font to be used and just specify monospace as the
font to be used everywhere else.