Commit graph

307 commits

Author SHA1 Message Date
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
Bruno BELANYI 14380d14b7 [ADD][VIM] Mapping to edit and source vimrc file 2019-07-13 01:18:47 +02:00
Bruno BELANYI 6accfe38e8 [ADD][TRIDACTYL] Use dark color scheme 2019-07-13 01:03:10 +02:00
Bruno BELANYI 1638682e14 [ADD][VIM] Indent in multiples of shiftwidth 2019-07-13 00:58:16 +02:00
Bruno BELANYI ecc2435f3e [ADD][GIT] Aliases for logging and misc utilities 2019-07-13 00:55:04 +02:00
Bruno BELANYI de345379ba [UPDATE][TRIDACTYL] Use a few lines from doc exemple 2019-07-12 23:59:56 +02:00
Bruno BELANYI cbe79799be [ADD] Tridactyl default exported configuration 2019-07-12 23:59:42 +02:00
Bruno BELANYI ff8527babb [ADD] Wallpapers 2019-07-12 23:59:30 +02:00
Bruno BELANYI e0404ebf16 [FIX][I3] Use Mod+a to focus on child 2019-07-12 17:00:40 +02:00
Bruno BELANYI 6f842540a8 [FIX][VIM] Remove '<' and '>' remappings
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...
2019-07-12 16:37:26 +02:00
Bruno BELANYI ab3d67f850 [ADD] Installation script 2019-07-11 23:22:16 +02:00
Bruno BELANYI ccfc85493a [ADD] Vim configuration file 2019-07-11 23:21:11 +02:00