Commit graph

396 commits

Author SHA1 Message Date
Bruno BELANYI 7fc21c978e [ADD][VIM] Use tabs in gitconfig 2020-12-12 14:12:42 +01:00
Bruno BELANYI 0ad4b69dad [ADD][VIM] Mail filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI df7220c155 [ADD][GIT] Ignore localrc scripts 2020-12-12 14:12:42 +01:00
Bruno BELANYI 83d3ee0624 [UPDATE][GIT] Use tab-based indent in gitconfig
When you use `git config --global ...` to write to this file, it uses
tabs to indent the configuration options. This makes the file more
consistent with Git's way of writing the configuration.
2020-12-12 14:12:42 +01:00
Bruno BELANYI b5eb803f9d [UPDATE][I3] Move Xautolock toggle to script
To allow notifications when toggling the state of Xautolock, the logic
has been moved to its own script.
2020-12-12 14:12:42 +01:00
Bruno BELANYI aeef0b0ca8 [ADD][I3] Finer-grained volume control 2020-12-12 14:12:42 +01:00
Bruno BELANYI 2b0a7deccc [ADD][VIM] More Tim Pope plug-ins 2020-12-12 14:12:42 +01:00
Bruno BELANYI 8b9a0ad3e4 [ADD][I3] Finer-grained brightness control 2020-12-12 14:12:42 +01:00
Bruno BELANYI 28f5adcebe [UPDATE][SCRIPT] Better notification for touchpad
Using a Dunst feature, a notification of the same type can override one
that is currently being displayed.
2020-12-12 14:12:42 +01:00
Bruno BELANYI e3c85a7df5 [ADD][VIM] Tex filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 3923fb230c [ADD][VIM] YAML filetype configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 603668560c [ADD][I3] Mode to enable/disable Xautolock 2020-12-12 14:12:42 +01:00
Bruno BELANYI 5e6a17064b [ADD][VIM] Auto-format Rust files on save 2020-12-12 14:12:42 +01:00
Bruno BELANYI 94ed7a9e9e [FIX][VIM] Unlet ftplugin variables without errors 2020-12-12 14:12:42 +01:00
Bruno BELANYI 3261e83e85 [ADD][MYPY] Default type-analysis configuration 2020-12-12 14:12:42 +01:00
Bruno BELANYI 46745f1f14 [ADD] Make target to link all packages 2020-12-12 14:12:42 +01:00
Bruno BELANYI 510d768f2d [ADD][VIM] Nix plugin 2020-12-12 14:12:42 +01:00
Bruno BELANYI fbad7868c1 [UPDATE][SHELL] Use ssh-agent on shared RSA key 2020-12-12 14:12:42 +01:00
Bruno BELANYI 6d4f572af8 [FIX] Add missing rofi-dmenu package to Makefile 2020-12-12 14:12:42 +01:00
Bruno BELANYI 6aaed4a6f3 [FIX] Add missing i3blocks dependencies to Makefile 2020-12-12 14:12:42 +01:00
Bruno BELANYI ec21783e67 [FIX] Add missing i3lock-color package to Makefile 2020-12-12 14:12:42 +01:00
Bruno BELANYI c0c9f20b8e [FIX] Add missing termite package to Makefile 2020-12-12 14:12:42 +01:00
Bruno BELANYI e56415d525 [ADD] Mypy configuration files 2020-12-12 14:12:42 +01:00
Bruno BELANYI ac7ed4a49b [ADD][ZSH] Command line editing using EDITOR 2020-12-12 14:12:42 +01:00
Bruno BELANYI 6f8d945ed3 [UPDATE][ZSH] Reload history when searching
This allows for searching commands that were used in other shells that
weren't quit yet.
2020-12-12 14:12:42 +01:00
Bruno BELANYI 3b24152598 [ADD][GITIGNORE] Ignore miscellaneous desktop files
I don't want to see all the files that appear in that folder, only the
one I'm interested in.
2020-12-12 14:12:42 +01:00
Bruno BELANYI d729ab9d09 [UPDATE] Remove tridactyl package installation
I only added it to the `Makefile` because it wasn't on the Mozilla
Addons site for a while.
2020-12-12 14:12:42 +01:00
Bruno BELANYI a7ce579bb2 [ADD] GDB configuration files 2020-12-12 14:12:41 +01:00
Bruno BELANYI 62b3d66dc8 [FIX][VIM] Remove typo 2020-12-12 14:12:41 +01:00
Bruno BELANYI 986c255736 [ADD][VIM] CMake specific configuration 2020-12-12 14:12:41 +01:00
Bruno BELANYI 61fb44f08b [UPDATE][VIM] Change colorscheme
I added more colorschemes that look good. Onedark should be a nice
change from Gruvbox.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 5c85e11535 [FIX][ZSH] Don't assume zprofile is sourced from ~ 2020-12-12 14:12:41 +01:00
Bruno BELANYI 58e8869538 [ADD][VIM] Use lazyredraw 2020-12-12 14:12:41 +01:00
Bruno BELANYI 31174951ff [ADD][VIM] Auto-format Python files on save 2020-12-12 14:12:41 +01:00
Bruno BELANYI 51ef52513e [ADD][GIT] Alias related to 'assume-unchanged' 2020-12-12 14:12:41 +01:00
Bruno BELANYI ff1649bd58 [ADD][VIM] Only show sign column on active buffer 2020-12-12 14:12:41 +01:00
Bruno BELANYI da54f2d130 [UPDATE][VIM] Move plugin settings to directory 2020-12-12 14:12:41 +01:00
Bruno BELANYI f7653311d5 [UPDATE][I3] Factorize numeric row key-codes 2020-12-12 14:12:41 +01:00
Bruno BELANYI 8a9cc1f98e [UPDATE][GIT] Use XDG_CONFIG_HOME scheme
Git supports looking for its configuration in
$XDG_CONFIG_HOME/git/config and a global ignore file in
$XDG_CONFIG_HOME/git/ignore in recent versions.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 351fe7e95a [FIX] Check if TERM is 'xterm-.*' in Bash & Zsh 2020-12-12 14:12:41 +01:00
Bruno BELANYI 2e927c89e7 [UPDATE][SCRIPT] Use expansion for PROMPT_COMMAND
It seems like the idiomatic way to update $PROMPT_COMMAND is to use
variable expansion to add a semi-colon and a space before the command
we're adding.

I also switched from prepending my commands to appending them, which
allows overriding behaviour, such as terminal titles which could be set
from system files.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 173a0b093c [ADD] Use my own script to display terminal title
The provided 'vte.sh' script  doesn't quite work on Bash because
$HOSTNAME is empty for some reason.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 4df55b8835 [UPDATE][I3] Exit custom mode with same keybinding
To be consistent with the resize mode that is defined in this
configuration file, the other modes I have written can be exited using
the "Enter" key, the "Escape" key, and the binding used to enter this
mode.
2020-12-12 14:12:41 +01:00
Bruno BELANYI d26732e4f3 [FIX][I3] Consistent comments with capital letter 2020-12-12 14:12:41 +01:00
Bruno BELANYI a649c4cad9 [UPDATE][I3] Factorize Vim-like key definitions 2020-12-12 14:12:41 +01:00
Bruno BELANYI b1e415594d [UPDATE][I3] Use keycode mappings for number row
If and when I want to switch to a different layout that uses numbers
without the shift key, unlike the traditional french layout, I still
want my shortcuts to work for switching workspaces.

I don't think any of my other shortcuts would have a problem switching
between AZERTY and QWERTY layout for example (well, selecting parent and
child containers would be switched, but I rarely need that
functionality and it is easy to switch on the fly).
2020-12-12 14:12:41 +01:00
Bruno BELANYI f69b5797fb [FIX][I3] Don't lock automatically while sleeping
My script to go to sleep already locks the screen, there's no use having
Xautolock try to do it while the computer is sleeping.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 0d548d3a11 [UPDATE][I3] Notify before locking automatically 2020-12-12 14:12:41 +01:00
Bruno BELANYI aadee80b84 [UPDATE][I3] Extend auto-lock delay to 3 minutes 2020-12-12 14:12:41 +01:00
Bruno BELANYI 63da4ac6e7 [ADD][SCRIPT] Git fast forward command
This script can be used to fast-forward all local branches tracking
remote branches instead of having to check them out manually to `git
pull`.
2020-12-12 14:12:41 +01:00