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.
The Redshift package on Arch doesn't seem to add a service file anywhere
so we have to add one ourselves in our configuration directory.
Geoclue doesn't seem to want to play nice with Redshift right now, so I
used the manual setting to add Paris' coordinates.