Initial commit

This commit is contained in:
2024-10-14 12:46:41 +02:00
commit a608dc0f69
4 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,104 @@
live_config_reload = true
[window]
opacity = 1
decorations = "full"
dynamic_title = true
startup_mode = "Maximized"
[window.dimensions]
columns = 160
lines = 40
[window.padding]
x = 4
y = 4
[window.class]
general = "Alacritty"
instance = "Alacritty"
[scrolling]
history = 10000
multiplier = 3
[font]
size = 11
[font.normal]
family = "JetBrainsMono Nerd Font"
style = "Medium"
[font.bold]
family = "JetBrainsMono Nerd Font"
style = "Bold"
[font.italic]
family = "JetBrainsMono Nerd Font"
style = "MediumItalic"
[font.bold_italic]
family = "JetBrainsMono Nerd Font"
style = "BoldItalic"
[font.glyph_offset]
x = 0
y = 0
[colors]
draw_bold_text_with_bright_colors = true
#[colors.primary]
#foreground = "#a9b1d6"
#background = "#11121D"
[[colors.indexed_colors]]
color = "0xF8BD96"
index = 16
[[colors.indexed_colors]]
color = "0xF5E0DC"
index = 17
[colors.bright]
black = "0x988BA2"
blue = "0x96CDFB"
cyan = "0x89DCEB"
green = "0xABE9B3"
magenta = "0xF5C2E7"
red = "0xF28FAD"
white = "0xD9E0EE"
yellow = "0xFAE3B0"
[colors.cursor]
cursor = "0xF5E0DC"
text = "0x1E1D2F"
[colors.normal]
black = "0x6E6C7E"
blue = "0x96CDFB"
cyan = "0x89DCEB"
green = "0xABE9B3"
magenta = "0xF5C2E7"
red = "0xF28FAD"
white = "0xD9E0EE"
yellow = "0xFAE3B0"
[colors.primary]
background = "0x1E1D2F"
foreground = "0xD9E0EE"
[cursor]
blink_interval = 750
[cursor.style]
blinking = "Always"
[mouse]
hide_when_typing = true
[shell]
program = "/bin/zsh"
[env]
TERM = "xterm-256color"

36
.config/tmux/tmux.conf Normal file
View File

@@ -0,0 +1,36 @@
# Set true color
set-option -sa terminal-overrides ",xterm*:Tc"
# Enable Mouse
set -g mouse on
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Set prefix
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
set -g @plugin 'tmux-pligins/tmux-yank'
# set vi-mode
set-window-option -g mode-keys vi
# keybinings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectagle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# Open panes in current directory
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane-current_path}"
run '~/.tmux/plugins/tpm/tpm'