misc tweaks
This commit is contained in:
parent
de2fb12648
commit
43a139c210
3 changed files with 11 additions and 14 deletions
|
|
@ -1,7 +1,17 @@
|
|||
shell-integration = zsh
|
||||
font-family = Iosevka
|
||||
adjust-cell-width = "-7%"
|
||||
theme = dark:Catppuccin Mocha,light:Catppuccin Latte
|
||||
theme = Catppuccin Mocha
|
||||
# theme = Catppuccin Latte
|
||||
mouse-hide-while-typing = true
|
||||
scrollback-limit = 1000000
|
||||
macos-icon = retro
|
||||
|
||||
keybind = ctrl+a>c=new_tab
|
||||
keybind = ctrl+a>shift+5=new_split:right
|
||||
keybind = ctrl+a>shift+'=new_split:down
|
||||
keybind = ctrl+a>z=toggle_split_zoom
|
||||
keybind = ctrl+a>n=next_tab
|
||||
keybind = ctrl+a>p=previous_tab
|
||||
keybind = ctrl+a>1=goto_tab:1
|
||||
keybind = ctrl+a>2=goto_tab:2
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ hidden = false
|
|||
r = ":reload-all"
|
||||
s = ":toggle-option soft-wrap.enable"
|
||||
t = ":sh run_test_under_cursor"
|
||||
y = ":sh zellij run -c -f -x 5% -y 5% --width 90% --height 90% -- bash ~/.config/helix/yazi-picker.sh open"
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
paths=$(yazi --chooser-file=/dev/stdout | while read -r; do printf "%q " "$REPLY"; done)
|
||||
|
||||
if [[ -n "$paths" ]]; then
|
||||
zellij action toggle-floating-panes
|
||||
zellij action write 27 # send <Escape> key
|
||||
zellij action write-chars ":$1 $paths"
|
||||
zellij action write 13 # send <Enter> key
|
||||
else
|
||||
zellij action toggle-floating-panes
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue