From 767697af729f16d26d39691422ce50e7ef3ec330 Mon Sep 17 00:00:00 2001 From: Avinal Kumar Date: Sun, 10 May 2026 15:18:38 +0530 Subject: [PATCH] Improve the configs Signed-off-by: Avinal Kumar --- .config/alacritty/alacritty.toml | 8 ++++---- .config/ghostty/config | 4 +--- .config/helix/config.toml | 24 ++++++++++++++++++++---- .config/helix/languages.toml | 2 +- .config/helix/themes/space_carbon.toml | 10 ++++++++++ .config/lazygit/config.yml | 10 ++++++++++ .config/zellij/config.kdl | 11 ++++++++--- .zshrc | 2 +- 8 files changed, 55 insertions(+), 16 deletions(-) diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index d290499..65de74d 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -11,16 +11,16 @@ bold_italic = { family = "Iosevka Term", style = "Bold Italic" } size = 14 [colors.primary] -background = "#111111" +background = "#000000" foreground = "#c1c9d2" [colors.cursor] -text = "#111111" +text = "#000000" cursor = "#c1c9d2" [colors.selection] text = "#ffffff" -background = "#3e4043" +background = "#393939" [colors.normal] black = "#000000" @@ -43,7 +43,7 @@ cyan = "#7fd3ed" white = "#ffffff" [cursor] -style = { shape = "Underline", blinking = "On" } +style = { shape = "Block", blinking = "Off" } [selection] save_to_clipboard = true diff --git a/.config/ghostty/config b/.config/ghostty/config index 70a7174..4c53f27 100644 --- a/.config/ghostty/config +++ b/.config/ghostty/config @@ -21,11 +21,9 @@ resize-overlay = after-first resize-overlay-position = bottom-right # Cursor -cursor-style = block_hollow +cursor-style = block cursor-style-blink = false cursor-click-to-move = true -cursor-color = cyan -cursor-text = cyan # Shell shell-integration = zsh diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 925cff6..b4501a2 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -1,6 +1,7 @@ theme = "space_carbon" [editor] +rainbow-brackets = true rulers = [80, 100] mouse = true cursorline = true @@ -8,15 +9,17 @@ continue-comments = true bufferline = "multiple" color-modes = true end-of-line-diagnostics = "hint" -popup-border = "popup" -scrolloff = 2 +popup-border = "all" +scrolloff = 5 +text-width = 100 +trim-trailing-whitespace = true [editor.soft-wrap] enable = true [editor.lsp] display-messages = true -#display-inlay-hints = true +display-inlay-hints = true [editor.cursor-shape] insert = "underline" @@ -26,9 +29,22 @@ select = "bar" hidden = false ignore = true +[editor.search] +smart-case = true +wrap-around = true + +[editor.smart-tab] +enable = true + +[editor.auto-save] +focus-lost = true [editor.whitespace] -render = "none" +render = "all" +[editor.whitespace.characters] +tab = ">" +space = " " +newline = " " [editor.indent-guides] render = true diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index de5cb4f..4ba0959 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -24,7 +24,7 @@ file-types = ["c", "h"] formatter = { command = 'clang-format' } auto-format = false language-servers = ["clangd", "wakatime"] -indent = { tab-width = 4, unit = " " } +indent = { tab-width = 8, unit = "\t" } [[language]] name = "cpp" diff --git a/.config/helix/themes/space_carbon.toml b/.config/helix/themes/space_carbon.toml index 4aaaf52..e832791 100644 --- a/.config/helix/themes/space_carbon.toml +++ b/.config/helix/themes/space_carbon.toml @@ -28,6 +28,12 @@ "ui.linenr" = { fg = "fg4" } "ui.linenr.selected" = { fg = "yellow", modifiers = ["bold"] } +# ── UI: Diff Gutter ───────────────────────────────────────────────── + +"ui.gutter.diff.added" = { fg = "green" } +"ui.gutter.diff.modified" = { fg = "blue" } +"ui.gutter.diff.removed" = { fg = "red" } + # ── UI: Statusline ─────────────────────────────────────────────────── "ui.statusline" = { fg = "fg1", bg = "bg2" } @@ -250,6 +256,10 @@ "diff.delta.moved" = { fg = "magenta" } "diff.delta.conflict" = { fg = "yellow" } +# ── Rainbow Brackets ──────────────────────────────────────────────── + +rainbow = ["yellow", "magenta", "cyan", "blue", "orange", "green", "pink"] + # ── Palette ────────────────────────────────────────────────────────── [palette] diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index 59bca11..a9d17e1 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -23,6 +23,16 @@ gui: - "#ed5f74" defaultFgColor: - "#c1c9d2" + cherryPickedCommitBgColor: + - "#262626" + cherryPickedCommitFgColor: + - "#c96ed0" + searchingActiveBorderColor: + - "#d97917" + markedBaseCommitBgColor: + - "#161616" + markedBaseCommitFgColor: + - "#3a97d4" git: autoFetch: true diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index f3558a8..e7692ff 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -12,6 +12,10 @@ keybinds clear-defaults=true { bind "Alt 7" { GoToTab 7; } bind "Alt 8" { GoToTab 8; } bind "Alt 9" { GoToTab 9; } + bind "Alt h" { MoveFocus "left"; } + bind "Alt j" { MoveFocus "down"; } + bind "Alt k" { MoveFocus "up"; } + bind "Alt l" { MoveFocus "right"; } } tmux { @@ -47,6 +51,7 @@ keybinds clear-defaults=true { bind "c" { NewTab; SwitchToMode "locked"; } bind "," { SwitchToMode "renametab"; TabNameInput 0; } + bind "." { SwitchToMode "renamepane"; PaneNameInput 0; } bind "X" { CloseTab; SwitchToMode "locked"; } bind "space" { NextSwapLayout; } @@ -164,8 +169,8 @@ themes { emphasis_3 104 142 241 } ribbon_unselected { - base 12 12 12 - background 227 232 238 + base 193 201 210 + background 105 115 134 emphasis_0 237 95 116 emphasis_1 193 201 210 emphasis_2 104 142 241 @@ -292,5 +297,5 @@ web_client { cursor_blink false cursor_style "block" cursor_inactive_style "outline" - font "Iosevka Fixed" + font "Iosevka Term" } diff --git a/.zshrc b/.zshrc index cfbc31f..f2f14f8 100644 --- a/.zshrc +++ b/.zshrc @@ -17,7 +17,7 @@ export MANPATH="/usr/local/man:$MANPATH" export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' export FZF_DEFAULT_OPTS=" \ --height=40% --layout=reverse --border=rounded --cycle --scroll-off=4 \ - --color=bg+:#393939,fg+:#ffffff,hl:#3a97d4,hl+:#3a97d4 \ + --color=bg:#000000,fg:#c1c9d2,bg+:#393939,fg+:#ffffff,hl:#3a97d4,hl+:#3a97d4 \ --color=info:#1ea672,prompt:#1ea672,pointer:#ed5f74,marker:#c96ed0 \ --color=spinner:#d97917,header:#3a97d4,border:#393939 \ --bind='ctrl-d:half-page-down,ctrl-u:half-page-up'"