Because i3exit is part of my path, I do not need to use the full path
from home. This is more robust when changing the path of my scripts
directory, as I did earlier.
I'd rather not see my script folder most of the time, so let's make it a
hidden folder instead.
I also link it each time with stow instead of using a conditional on the
folder's existence, which is more robust when adding scripts after I
already finished an install and only want to update the symlinks.
Because I start the tray icon at i3's startup in my configuration file,
I do not need to add redshift-gtk as a requirement to systemd's default
target. This avoids having two redshift-gtk instances running.
I also removed the systemctl calls to enable the services from the
installation script. Maybe I'll switch back to using services instead of
launching the tray-icon at i3's startup someday.
I don't want my pager to clobber my terminal once I'm done looking at
whatever I was looking at.
This also means that I can remove its definition from the `batman`
script.
This was shamelessly stolen from the `bat-extras` repository, with a
little modification to call the pager with my wanted default options.
This obviously depends on the `bat` utility.
I have never used `gutentags` or `gutentags_plus`, mostly because the
only project that I have done that could have benefited from it (the
Tiger Compiler) did not play well with `universal-ctags`.
You need to install `i3blocks-contrib-git` from the AUR to use the
blocklets in this configuration.
For some reason I needed to add spaces to every label to have them
diplay correctly. I also updated the `keyindicator` blockelts to use
pango markup.
I removed the bandwith blocklet which I don't particularly like.
To make navigation inside my configuration file easier, I added a
modeline at the end to enable markers for folding and added the markers
on all levels.
Using the `cppreference` package from the AUR, I can simply view them on
the go.
Installing `stdman` is pretty great too, replacing the awful Doxygen
auto-generated files for the standard library.
I added the `set hidden` option to keep modified buffers open in the
background and used that opportunity to modfify the order of my settings
and their categorisation.
I forgot to save the commit mapping last time...
I also added mapping to automatically write the push, pull, and merge
commands of vim-fugitive. They all populate the quick-fix list with
their output.
All fugitive specific mappings are prefixed by <Leader>
- ga : add file in current buffer
- gb : add blame information to the left of current buffer
- gc : commit all staged changes, open a new tab with commit message
- gd : open a diff view
- gs : open a buffer with the current git status
- gm : use git-mv to rename a file in the project
You can use the do and dp commands while in diff view to stage a partial
commit. Mappings have been added to make them work in visual mode too.
Mappings for vcs files, all files, buffers, buffer history, and tags
have been added to the Vim configuration.
The installation process automatically adds the fzf sourcing commands to
both Bash and Zsh configuration files.
I had a <Leader>qf mapping to toggle the quick-fix lis, but no mapping
to toggle the location list... The <Leader>ql mapping is now there to
complement it.