mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-03 23:20:07 +05:30
Improve the configs
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -23,6 +23,16 @@ gui:
|
||||
- "#ed5f74"
|
||||
defaultFgColor:
|
||||
- "#c1c9d2"
|
||||
cherryPickedCommitBgColor:
|
||||
- "#262626"
|
||||
cherryPickedCommitFgColor:
|
||||
- "#c96ed0"
|
||||
searchingActiveBorderColor:
|
||||
- "#d97917"
|
||||
markedBaseCommitBgColor:
|
||||
- "#161616"
|
||||
markedBaseCommitFgColor:
|
||||
- "#3a97d4"
|
||||
|
||||
git:
|
||||
autoFetch: true
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user