Skip to content

Instantly share code, notes, and snippets.

View MateusTymoniuk's full-sized avatar

Mateus Tymoniuk MateusTymoniuk

View GitHub Profile
@MateusTymoniuk
MateusTymoniuk / .alacritty.toml
Created November 26, 2024 16:45
Alacritty terminal font
[font]
size = 16.0
[font.bold]
family = "Fira Code"
style = "Bold"
[font.bold_italic]
family = "Fira Code"
style = "Bold Italic"
@MateusTymoniuk
MateusTymoniuk / gist:f750e09cbc3e69e185da6fcec7d6853a
Created January 26, 2024 19:31
This gist contains a simple script to initialize a session with pre-defined windows on tmux
#!/bin/bash
# Set Session Name
SESSION="Work"
SESSIONEXISTS=$(tmux list-sessions | grep $SESSION)
# Only create tmux session if it doesn't already exist
if [ "$SESSIONEXISTS" = "" ]
then
# Start New Session with our name
@MateusTymoniuk
MateusTymoniuk / prepare-commit-msg
Last active July 29, 2024 09:05
prepare-commit-msg git hook to add jira ticket number to beginning of the commit msg
#!/bin/bash
# Hook based on this article: https://andy-carter.com/blog/automating-git-commit-messages-with-git-hooks
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
branch=$(git branch --show-current)
@MateusTymoniuk
MateusTymoniuk / .tmux.conf
Last active February 27, 2025 20:49
Useful configurations for tmux
set -g default-terminal "tmux-255color"
set -s escape-time 0
set -g base-index 1
# use mouse scrolling
set -g mouse on
set-option -g prefix C-a
unbind C-b
bind-key C-a send-prefix
@MateusTymoniuk
MateusTymoniuk / .ideavimrc
Last active September 8, 2023 08:32
My ideavimrc
"" Source your .vimrc
"source ~/.vimrc
"" -- Suggested options --
" Show a few lines of context around the cursor. Note that this makes the
" text scroll if you mouse-click near the start or end of the window.
set scrolloff=8
"" set relative line numbers
set relativenumber