This introduces the '.vim' folder to my dot-files repository. I'll have
to think about splitting my '.vimrc' file into multiple files inside the
'.vim' folder.
Using 'line-length=80' and flake8-bugbear's B950 warning, I respect
black's formatting of 88 columns max.
The T4 category is related to mypy lints, using the 'flake8-mypy`
plugin.
The max complexity is supposed to make you write shorter functions with
less complexity, using the cyclomatic complexity heuristic.
This file is almost directly taken from black's own flake8
configuration, because I'm using it as a linter and I mostly agreed with
its settings.
I usually code in C99 and C++17 because that's EPITA's guidelines.
I'll have to check out the new C11/C18 features (notably threading and
type genericity...) someday.
Groups needs to have a command-list ending in a semi-colon to register
the ending brace. I did not encounter this issue with Zsh but do have an
error when sourcing the file with Bash.
I want to try it out for a bit, see which one I prefer.
I'll keep my own dmenu theme for now though, because I still think it
might be more adapted in certain use-cases.
Even though I don't think I'll be using URxvt anymore, I still want my
config to use the same font and color theme as XTerm and Termite.
I'll probably remove the URxvt settings soon anyway.
I wanted the launcher to take the same size as my previous dmenu
launcher when invoked with `mod+d` or `mod+Shift+d` instead of my usual
rofi theme.
The default dmenu theme is too big so I adapted it for my needs.
This preprocessor is different from bat in that it can display some
information about binary files like archives or pdf files. It also does
some syntax highlighting like bat.
I found the base script somewhere on GitHub. It looks like a good basis
to transform it into a true bluetooth interface which could be launched
directly from demnu. To that end I wrote a little '.desktop' file to add
it to `dmenu-desktop` entries.
I wanted to try something else, lightline seems more fun than the vanilla
statusline, and easier to modify than airline.
This is the bare minimum of status bar for me, without powerline
separators because I don't like them very much, and with basic
vim-fugitive integration.
Everyone assumes that spaces do not exist on a Linux system... This is
unfortunately not the case (although I hate having spaces in my own
files). Quoting the variables avoids running into those kind of issues.
I did not want the extract function to change my working directory when
I added it. However I should have fixed the command calls that assumed I
was in a newly created directory at the same time.
Mozilla asked tridactyl's dev-team to remove this command because it is
supposedly insecure... I still want to use tridactyl on Mozilla reserved
pages so here it is again.
I couldn't type most of my two letter leader bindings with such a short
timeout... This makes deletions in visual mode a bit longer, but I don't
think that's a terrible tradeoff.
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.