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.
Switching to Termite because URxvt has weird rendering issues when
resizing the font.
i3-sensible-terminal needs the TERMINAL environment variable to launch
our prefered terminal emulator with the Ctrl+d binding.
Bash and Zsh both need a hook to enable Termite to open another terminal
in the same directory with the Ctrl+Maj+t binding.
I prefer having them available to change the indentation of a block of
code instead of having an easier time using vim-unimpaired, which I
haven't even bothered trying to learn yet...