Commit graph

68 commits

Author SHA1 Message Date
Bruno BELANYI 5f09bfd935 [ADD][SCRIPT] 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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 0f4d67278c [UPDATE][SHELL] Export default pager
I also added the '-+X' flag to `less` default options to make it clear the
screen on exit.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5f3825982a [UPDATE][REDSHIFT] Remove invalid systemd syntax 2019-10-18 22:17:20 +02:00
Bruno BELANYI eea74d7f95 [UPDATE][REDSHIFT] Use manual location information 2019-10-18 22:17:20 +02:00
Bruno BELANYI 8225241746 [ADD][GIT] git-lfs configuration 2019-10-18 22:17:20 +02:00
Bruno BELANYI 00109974f0 [UPDATE] Remove display of /etc/issue in shell
I don't want to make a custom `/etc/issue` file for every computer that
I use. Plus I didn't really like that behaviour anyway.
2019-10-18 22:17:20 +02:00
Bruno BELANYI db4be2feaf [UPDATE][VIM] Remove tag management plugins
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`.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5c2f708374 [UPDATE][I3] Change i3blocks config for new laptop
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 1cda690abc [UPDATE][I3] Use path from home for i3exit 2019-10-18 22:17:20 +02:00
Bruno BELANYI db30826f30 [UPDATE][I3] Remove tabs in configuration file 2019-10-18 22:17:20 +02:00
Bruno BELANYI 9a1e2d743a [UPDATE][VIM] Add folding markers to vimrc
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 598785f27a [UPDATE][REDSHIFT] No color shift during daytime 2019-10-18 22:17:20 +02:00
Bruno BELANYI 61f4569c72 [UPDATE][I3] Use Vim movement keys
Use Vim movements instead of i3's defaults in every mapping currently
deployed (i.e: focus, resize, move).
2019-10-18 22:17:20 +02:00
Bruno BELANYI dbaefbf33b [UPDATE][I3] Use Mod+g to split horizontally
I want to remap all i3's bindings to use Vim's movement keys. This
mapping had to change.
2019-10-18 22:17:20 +02:00
Bruno BELANYI da6be50060 [ADD][SHELL] Alias for cppreference offline docs
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 2bda68b126 [ADD][I3] More resize and move mappings
I use shift and ctrl keys to modify the amount of pixels to resize/move
containers in i3.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 49d5849ec4 [UPDATE][VIM] Set short timeout
I am kind of impatient after all.
2019-10-18 22:17:20 +02:00
Bruno BELANYI d9d2d975ba [FIX] Launch xautolock at i3's startup
It seems that the xinitrc command doesn't work... I'll have to
investigate why.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 494ee185ef [ADD][VIM] Rust language plugin 2019-10-18 22:17:20 +02:00
Bruno BELANYI 45f9d9d677 [FIX][I3] Change xautolock mouse corner handling
It will lock five seconds after putting the cursor in the upper left
corner, and will not ever lock if the mouse is in the lower right
corner.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 3f7f725e61 [FIX][SHELL] Launch keychain with password prompt 2019-10-18 22:17:20 +02:00
Bruno BELANYI e92aaa1087 [UPDATE][SHELL] Short touchpad toggle notification 2019-10-18 22:17:20 +02:00
Bruno BELANYI d7e5bbdb32 [UPDATE][I3] Notify on brightness up/down
Show a short-lived notification to say which action was done and what
the current screen brightness is.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 13e52c1670 [UPDATE][SHELL] Notify on touchpad toggle
A low priority notification is displayed when enabling/disbling the
touchpad with i3's key-binding and/or te script.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 65a8a2f4a3 [ADD][SHELL] Use keychain as ssh-agent daemon
This program only launches one ssh-agent daemon for each session, which
is easier than handling ssh-agent by hand.
2019-10-18 22:17:20 +02:00
Bruno BELANYI b03a14ba63 [ADD][I3] Touchpad toggle & display settings keys 2019-10-18 22:17:20 +02:00
Bruno BELANYI b158a8a06e [ADD][SHELL] Add rust environment to PATH
I share the `.share` file between Zsh and Bash so no need to add the
export to all files, only one will do.
2019-10-18 22:17:20 +02:00
Bruno BELANYI e735f11afd [UPDATE][VIM] Reorganised vimrc file
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 85319475ab [UPDATE][SHELL] Compiler aliases with flags 2019-10-18 22:17:20 +02:00
Bruno BELANYI 376598a9a5 [ADD][VIM] Git file log mapping
<Leader>gl will open a new tab containing the history of the current
buffer in a location list as a series of git object.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 525502165f [FIX][VIM] Unambiguous pull/push/merge mappings 2019-10-18 22:17:20 +02:00
Bruno BELANYI d60e05b2af [FIX][RANGER] Export RANGER_LOAD_DEFAULT_RC=FALSE
The configuration file in my home directory contains all the mappings
used in ranger.
2019-10-18 22:17:20 +02:00
Bruno BELANYI b65bce1cb1 [ADD] Ranger configuration files
Those are mostlly the defaults from using `ranger --copy-config=all`.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 8412e9c1c4 [ADD] Dunst mostly-default configuration file
Dunst is great minimalistic notification daemon. The default config
looks pretty great so I see no need to modify it.
2019-10-18 22:17:20 +02:00
Bruno BELANYI d496c519c2 [UPDATE][VIM] Cosmetic changes
Added section titles and made all assignments the same style.
2019-10-18 22:17:20 +02:00
Bruno BELANYI df48553a84 [ADD][VIM] Git commit, push, pull, merge mappings
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 8c3f152356 [ADD][VIM] Vim-fugitive mappings
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 719d64a801 [ADD][VIM] UltiSnips configuration
Added the insertion shortcut and place-holder list jumps.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 36b3757e67 [ADD] Fuzzy file finder for Vim, Bash, Zsh
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI f11c45e987 [UPDATE][VIM] Remap quick-fix and location-list toggles
<Leader>tf and <Leader>tl ("toggle fix" and "toggle list") are easier to
type and remember than the previous mappings.
2019-10-18 22:17:20 +02:00
Bruno BELANYI decd2fce1c [UPDATE][VIM] Mapping for location list toggle
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 8fa4f9aebe [UPDATE][VIM] Add Makefile to gutentags root files 2019-10-18 22:17:20 +02:00
Bruno BELANYI 48ffc97ab0 [ADD][I3] Notify on low battery charge 2019-10-18 22:17:20 +02:00
Bruno BELANYI 4512b88254 [ADD][VIM] gutentags_plus configuration
This plug-in needs the 'global' package to work properly.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 771c14acc1 [UPDATE][VIM] Mapping for quick-fix interaction
All mappings are preceded by the leader key.
- fn/fp cycle through errors,
- ln/lp cycle through locations
- qf toggles the quick-fix list
2019-10-18 22:17:20 +02:00
Bruno BELANYI 75c92c2a38 [UPDATE][ZSH] Group directories in completion 2019-07-13 05:00:46 +02:00
Bruno BELANYI 79873aebaf [UPDATE][ZSH] Use arrow keys in completion menu 2019-07-13 04:59:53 +02:00
Bruno BELANYI 5cdacc9abb [ADD] Redshift configuration
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.
2019-07-13 04:57:13 +02:00
Bruno BELANYI ccb110a6b9 [UPDATE][VIM] Show tags alert on status line 2019-07-13 03:44:05 +02:00
Bruno BELANYI 8d2f357c8c [ADD] Termite configuration and TERMINAL variable
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.
2019-07-13 03:35:43 +02:00