This commit is contained in:
elkowar 2024-12-14 13:32:26 +01:00
parent a391d49138
commit ec2393d8e1
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13
7 changed files with 28 additions and 11 deletions

View file

@ -1,5 +1,6 @@
# -*- conf -*- # -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) # shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled) # term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no # login-shell=no
@ -8,6 +9,7 @@
# title=foot # title=foot
# locked-title=no # locked-title=no
# font=APL386 Unicode:size=8 # font=APL386 Unicode:size=8
font=Fira Code Nerd Font:size=12 font=Fira Code Nerd Font:size=12
# font-bold=<bold variant of regular font> # font-bold=<bold variant of regular font>
@ -73,7 +75,7 @@ hide-when-typing=yes
#background=1d2021 #background=1d2021
background=282828 background=282828
foreground=ebdbb2 foreground=ebdbb2
#regular0=282828 #regular0=282828
regular0=665c54 regular0=665c54
regular1=cc241d regular1=cc241d
regular2=98971a regular2=98971a

View file

@ -1,8 +1 @@
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini .config/foot/foot.ini

View file

@ -1,2 +1 @@
.gitconfig
.gitconfig .gitconfig

View file

@ -34,6 +34,11 @@ input {
cursor { cursor {
xcursor-size 32 // {< rnum(if device.laptop() then 12 else 32) >} xcursor-size 32 // {< rnum(if device.laptop() then 12 else 32) >}
xcursor-theme "phinger-cursors-light" xcursor-theme "phinger-cursors-light"
<<<<<<< HEAD
=======
xcursor-size 12
hide-when-typing
>>>>>>> 6440e12 (stuff)
} }
environment { environment {

View file

@ -108,6 +108,7 @@
"ctrl-t ctrl-h": "pane::ActivatePrevItem", "ctrl-t ctrl-h": "pane::ActivatePrevItem",
"ctrl-t ctrl-l": "pane::ActivateNextItem", "ctrl-t ctrl-l": "pane::ActivateNextItem",
"ctrl-x ctrl-c": "pane::CloseActiveItem", "ctrl-x ctrl-c": "pane::CloseActiveItem",
"ctrl-t ctrl-c": "pane::CloseActiveItem",
"alt-j": "workspace::ToggleBottomDock" "alt-j": "workspace::ToggleBottomDock"
} }

View file

@ -1,6 +1,6 @@
{ {
"auto_signature_help": false, "auto_signature_help": false,
"use_autoclose": true, // "use_autoclose": true,
// "always_treat_brackets_as_autoclosed": false, // "always_treat_brackets_as_autoclosed": false,
// "unstable.ui_density": "compact", // "unstable.ui_density": "compact",
"assistant": { "assistant": {
@ -12,7 +12,8 @@
}, },
"theme": "Gruvbox Dark Hard", "theme": "Gruvbox Dark Hard",
"buffer_font_size": 14, "buffer_font_size": 14,
"buffer_font_family": "FiraCode Nerd Font", "buffer_font_family": "Input",
// "buffer_font_family": "FiraCode Nerd Font",
//"buffer_font_family": "JetBrainsMono Nerd Font Mono", //"buffer_font_family": "JetBrainsMono Nerd Font Mono",
// "buffer_line_height": { "custom": 1.55 }, // "buffer_line_height": { "custom": 1.55 },
// "ui_font_family": "Noto Sans", // "ui_font_family": "Noto Sans",

View file

@ -15,5 +15,21 @@
//"cwd": "/path/to/working/directory", //"cwd": "/path/to/working/directory",
"use_new_terminal": false, "use_new_terminal": false,
"allow_concurrent_runs": false "allow_concurrent_runs": false
},
{
"label": "search:project",
"command": "QUERY=${ZED_SELECTED_TEXT:-}; FILE=$(rg --column --hidden --line-number --no-heading --color=always --smart-case --colors match:fg:green --colors path:fg:white --colors path:style:nobold --glob '!**/.git/' '--glob' '!**/node_modules' \"$QUERY\" . | fzf --ansi --delimiter : --preview 'bat --style=numbers,changes,header --color=always --highlight-line {2} {1}' --preview-window 'up:60%:+{2}+3/3' --layout=reverse --query \"$QUERY\" --print-query | tail -1); if [ -n \"$FILE\" ]; then LINE=$(echo $FILE | cut -d':' -f2); COL=$(echo $FILE | cut -d':' -f3); FILE=$(echo $FILE | cut -d':' -f1); zed $FILE:$LINE:$COL; fi",
"env": {},
"cwd": "${ZED_WORKTREE_ROOT}",
"allow_concurrent_runs": false,
"use_new_terminal": false,
"reveal": "always",
"hide": "on_success",
"shell": {
"with_arguments": {
"program": "/bin/bash",
"args": ["--login"]
}
}
} }
] ]