Add comprehensive Zsh configuration files including aliases, completion settings, environment variables, custom functions, keybindings, shell options, plugins, and prompt configuration

- Created aliases for navigation, file management, system commands, and Git operations
- Configured completion settings with caching and custom formatting
- Set environment variables for editor, history, and various programming languages
- Implemented custom functions for navigation, file extraction, and process management
- Defined keybindings for efficient command line navigation and editing
- Established shell options for enhanced history management and command correction
- Integrated various plugins for improved functionality, including FZF, autosuggestions, and syntax highlighting
- Configured Powerlevel10k theme for a visually appealing prompt
This commit is contained in:
Dmitry
2025-12-11 12:09:10 +03:00
parent 89c55ac4ef
commit 8c5234c800
29 changed files with 5781 additions and 1 deletions

View File

@@ -0,0 +1,157 @@
# Alacritty configuration generated from kitty settings, with Nord color scheme
# See https://alacritty.org/config-alacritty.html (TOML format)
[general]
live_config_reload = true
[terminal.shell]
program = "/usr/bin/zsh"
args = ["-l", "-c", "tmux new-session -A -s main"]
[window]
opacity = 0.85
decorations = "Full"
startup_mode = "Maximized"
# dimensions are in columns/lines; omitted to use terminal defaults
# padding can be added if desired:
padding = { x = 10, y = 5 }
[font]
size = 14.0
[font.normal]
family = "FiraCode Nerd Font Mono"
style = "Regular"
[font.bold]
family = "FiraCode Nerd Font Mono"
style = "Bold"
[font.italic]
family = "FiraCode Nerd Font Mono"
style = "Italic"
[scrolling]
history = 10000
multiplier = 5
[selection]
save_to_clipboard = true
semantic_escape_chars = "@-./_~?&=%+#"
[mouse]
hide_when_typing = false
[cursor]
# kitty: beam + blinking
blink_interval = 500
thickness = 0.15
[cursor.style]
shape = "Beam"
blinking = "On"
[bell]
# Disable visual bell by setting duration to 0; keep a valid easing to satisfy parser
animation = "EaseOutExpo"
duration = 0
# Nord color scheme
# https://www.nordtheme.com/
[colors.primary]
background = "#2E3440"
foreground = "#D8DEE9"
[colors.cursor]
text = "#2E3440"
cursor = "#D8DEE9"
[colors.selection]
text = "#D8DEE9"
background = "#434C5E"
[colors.normal]
black = "#3B4252"
red = "#BF616A"
green = "#A3BE8C"
yellow = "#EBCB8B"
blue = "#81A1C1"
magenta = "#B48EAD"
cyan = "#88C0D0"
white = "#E5E9F0"
[colors.bright]
black = "#4C566A"
red = "#BF616A"
green = "#A3BE8C"
yellow = "#EBCB8B"
blue = "#81A1C1"
magenta = "#B48EAD"
cyan = "#8FBCBB"
white = "#ECEFF4"
# Key bindings translated where possible
[[keyboard.bindings]]
key = "C"
mods = "Control|Shift"
action = "Copy"
[[keyboard.bindings]]
key = "V"
mods = "Control|Shift"
action = "Paste"
[[keyboard.bindings]]
key = "Enter"
mods = "Control|Shift"
action = "SpawnNewInstance"
[[keyboard.bindings]]
key = "F11"
mods = "Control|Shift"
action = "ToggleFullscreen"
[[keyboard.bindings]]
key = "Equals"
mods = "Control|Shift"
action = "IncreaseFontSize"
[[keyboard.bindings]]
key = "Minus"
mods = "Control|Shift"
action = "DecreaseFontSize"
[[keyboard.bindings]]
key = "Key0"
mods = "Control|Shift"
action = "ResetFontSize"
[[keyboard.bindings]]
key = "Up"
mods = "Control|Shift"
action = "ScrollLineUp"
[[keyboard.bindings]]
key = "Down"
mods = "Control|Shift"
action = "ScrollLineDown"
[[keyboard.bindings]]
key = "PageUp"
mods = "Control|Shift"
action = "ScrollPageUp"
[[keyboard.bindings]]
key = "PageDown"
mods = "Control|Shift"
action = "ScrollPageDown"
[[keyboard.bindings]]
key = "Home"
mods = "Control|Shift"
action = "ScrollToTop"
[[keyboard.bindings]]
key = "End"
mods = "Control|Shift"
action = "ScrollToBottom"