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
|
size = 14
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = "#111111"
|
background = "#000000"
|
||||||
foreground = "#c1c9d2"
|
foreground = "#c1c9d2"
|
||||||
|
|
||||||
[colors.cursor]
|
[colors.cursor]
|
||||||
text = "#111111"
|
text = "#000000"
|
||||||
cursor = "#c1c9d2"
|
cursor = "#c1c9d2"
|
||||||
|
|
||||||
[colors.selection]
|
[colors.selection]
|
||||||
text = "#ffffff"
|
text = "#ffffff"
|
||||||
background = "#3e4043"
|
background = "#393939"
|
||||||
|
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = "#000000"
|
black = "#000000"
|
||||||
@@ -43,7 +43,7 @@ cyan = "#7fd3ed"
|
|||||||
white = "#ffffff"
|
white = "#ffffff"
|
||||||
|
|
||||||
[cursor]
|
[cursor]
|
||||||
style = { shape = "Underline", blinking = "On" }
|
style = { shape = "Block", blinking = "Off" }
|
||||||
|
|
||||||
[selection]
|
[selection]
|
||||||
save_to_clipboard = true
|
save_to_clipboard = true
|
||||||
|
|||||||
@@ -21,11 +21,9 @@ resize-overlay = after-first
|
|||||||
resize-overlay-position = bottom-right
|
resize-overlay-position = bottom-right
|
||||||
|
|
||||||
# Cursor
|
# Cursor
|
||||||
cursor-style = block_hollow
|
cursor-style = block
|
||||||
cursor-style-blink = false
|
cursor-style-blink = false
|
||||||
cursor-click-to-move = true
|
cursor-click-to-move = true
|
||||||
cursor-color = cyan
|
|
||||||
cursor-text = cyan
|
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
shell-integration = zsh
|
shell-integration = zsh
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
theme = "space_carbon"
|
theme = "space_carbon"
|
||||||
|
|
||||||
[editor]
|
[editor]
|
||||||
|
rainbow-brackets = true
|
||||||
rulers = [80, 100]
|
rulers = [80, 100]
|
||||||
mouse = true
|
mouse = true
|
||||||
cursorline = true
|
cursorline = true
|
||||||
@@ -8,15 +9,17 @@ continue-comments = true
|
|||||||
bufferline = "multiple"
|
bufferline = "multiple"
|
||||||
color-modes = true
|
color-modes = true
|
||||||
end-of-line-diagnostics = "hint"
|
end-of-line-diagnostics = "hint"
|
||||||
popup-border = "popup"
|
popup-border = "all"
|
||||||
scrolloff = 2
|
scrolloff = 5
|
||||||
|
text-width = 100
|
||||||
|
trim-trailing-whitespace = true
|
||||||
|
|
||||||
[editor.soft-wrap]
|
[editor.soft-wrap]
|
||||||
enable = true
|
enable = true
|
||||||
|
|
||||||
[editor.lsp]
|
[editor.lsp]
|
||||||
display-messages = true
|
display-messages = true
|
||||||
#display-inlay-hints = true
|
display-inlay-hints = true
|
||||||
|
|
||||||
[editor.cursor-shape]
|
[editor.cursor-shape]
|
||||||
insert = "underline"
|
insert = "underline"
|
||||||
@@ -26,9 +29,22 @@ select = "bar"
|
|||||||
hidden = false
|
hidden = false
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
|
[editor.search]
|
||||||
|
smart-case = true
|
||||||
|
wrap-around = true
|
||||||
|
|
||||||
|
[editor.smart-tab]
|
||||||
|
enable = true
|
||||||
|
|
||||||
|
[editor.auto-save]
|
||||||
|
focus-lost = true
|
||||||
|
|
||||||
[editor.whitespace]
|
[editor.whitespace]
|
||||||
render = "none"
|
render = "all"
|
||||||
|
[editor.whitespace.characters]
|
||||||
|
tab = ">"
|
||||||
|
space = " "
|
||||||
|
newline = " "
|
||||||
|
|
||||||
[editor.indent-guides]
|
[editor.indent-guides]
|
||||||
render = true
|
render = true
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ file-types = ["c", "h"]
|
|||||||
formatter = { command = 'clang-format' }
|
formatter = { command = 'clang-format' }
|
||||||
auto-format = false
|
auto-format = false
|
||||||
language-servers = ["clangd", "wakatime"]
|
language-servers = ["clangd", "wakatime"]
|
||||||
indent = { tab-width = 4, unit = " " }
|
indent = { tab-width = 8, unit = "\t" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "cpp"
|
name = "cpp"
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
"ui.linenr" = { fg = "fg4" }
|
"ui.linenr" = { fg = "fg4" }
|
||||||
"ui.linenr.selected" = { fg = "yellow", modifiers = ["bold"] }
|
"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 ───────────────────────────────────────────────────
|
||||||
|
|
||||||
"ui.statusline" = { fg = "fg1", bg = "bg2" }
|
"ui.statusline" = { fg = "fg1", bg = "bg2" }
|
||||||
@@ -250,6 +256,10 @@
|
|||||||
"diff.delta.moved" = { fg = "magenta" }
|
"diff.delta.moved" = { fg = "magenta" }
|
||||||
"diff.delta.conflict" = { fg = "yellow" }
|
"diff.delta.conflict" = { fg = "yellow" }
|
||||||
|
|
||||||
|
# ── Rainbow Brackets ────────────────────────────────────────────────
|
||||||
|
|
||||||
|
rainbow = ["yellow", "magenta", "cyan", "blue", "orange", "green", "pink"]
|
||||||
|
|
||||||
# ── Palette ──────────────────────────────────────────────────────────
|
# ── Palette ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
[palette]
|
[palette]
|
||||||
|
|||||||
@@ -23,6 +23,16 @@ gui:
|
|||||||
- "#ed5f74"
|
- "#ed5f74"
|
||||||
defaultFgColor:
|
defaultFgColor:
|
||||||
- "#c1c9d2"
|
- "#c1c9d2"
|
||||||
|
cherryPickedCommitBgColor:
|
||||||
|
- "#262626"
|
||||||
|
cherryPickedCommitFgColor:
|
||||||
|
- "#c96ed0"
|
||||||
|
searchingActiveBorderColor:
|
||||||
|
- "#d97917"
|
||||||
|
markedBaseCommitBgColor:
|
||||||
|
- "#161616"
|
||||||
|
markedBaseCommitFgColor:
|
||||||
|
- "#3a97d4"
|
||||||
|
|
||||||
git:
|
git:
|
||||||
autoFetch: true
|
autoFetch: true
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ keybinds clear-defaults=true {
|
|||||||
bind "Alt 7" { GoToTab 7; }
|
bind "Alt 7" { GoToTab 7; }
|
||||||
bind "Alt 8" { GoToTab 8; }
|
bind "Alt 8" { GoToTab 8; }
|
||||||
bind "Alt 9" { GoToTab 9; }
|
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 {
|
tmux {
|
||||||
@@ -47,6 +51,7 @@ keybinds clear-defaults=true {
|
|||||||
|
|
||||||
bind "c" { NewTab; SwitchToMode "locked"; }
|
bind "c" { NewTab; SwitchToMode "locked"; }
|
||||||
bind "," { SwitchToMode "renametab"; TabNameInput 0; }
|
bind "," { SwitchToMode "renametab"; TabNameInput 0; }
|
||||||
|
bind "." { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||||
bind "X" { CloseTab; SwitchToMode "locked"; }
|
bind "X" { CloseTab; SwitchToMode "locked"; }
|
||||||
|
|
||||||
bind "space" { NextSwapLayout; }
|
bind "space" { NextSwapLayout; }
|
||||||
@@ -164,8 +169,8 @@ themes {
|
|||||||
emphasis_3 104 142 241
|
emphasis_3 104 142 241
|
||||||
}
|
}
|
||||||
ribbon_unselected {
|
ribbon_unselected {
|
||||||
base 12 12 12
|
base 193 201 210
|
||||||
background 227 232 238
|
background 105 115 134
|
||||||
emphasis_0 237 95 116
|
emphasis_0 237 95 116
|
||||||
emphasis_1 193 201 210
|
emphasis_1 193 201 210
|
||||||
emphasis_2 104 142 241
|
emphasis_2 104 142 241
|
||||||
@@ -292,5 +297,5 @@ web_client {
|
|||||||
cursor_blink false
|
cursor_blink false
|
||||||
cursor_style "block"
|
cursor_style "block"
|
||||||
cursor_inactive_style "outline"
|
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_COMMAND='fd --type f --hidden --follow --exclude .git'
|
||||||
export FZF_DEFAULT_OPTS=" \
|
export FZF_DEFAULT_OPTS=" \
|
||||||
--height=40% --layout=reverse --border=rounded --cycle --scroll-off=4 \
|
--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=info:#1ea672,prompt:#1ea672,pointer:#ed5f74,marker:#c96ed0 \
|
||||||
--color=spinner:#d97917,header:#3a97d4,border:#393939 \
|
--color=spinner:#d97917,header:#3a97d4,border:#393939 \
|
||||||
--bind='ctrl-d:half-page-down,ctrl-u:half-page-up'"
|
--bind='ctrl-d:half-page-down,ctrl-u:half-page-up'"
|
||||||
|
|||||||
Reference in New Issue
Block a user