non important commit

This commit is contained in:
Jiří Maxmilián Stříbrný 2026-03-15 20:25:06 +01:00
parent dfac501d3d
commit ea48fbc85f
2 changed files with 5 additions and 17 deletions

View file

@ -1,4 +1,4 @@
if "ZELLIJ" in $env == false {
if not ("ZELLIJ" in $env) {
zellij
exit
}
@ -22,7 +22,7 @@ def --env fzf-cd [] {
}
}
def --env fzf-nvim [] {
def --env fzf-edit [] {
let file = (fd -t f -L . | fzf --reverse --height 40% --border rounded --preview=("bat -p -P --color always {}") --preview-window=border-left)
if $file != null and $file != "" {
^$env.EDITOR $file
@ -38,7 +38,7 @@ $env.config.keybindings = ($env.config.keybindings | append {
})
$env.config.keybindings = ($env.config.keybindings | append {
name: "fzf-nvim"
name: "fzf-edit"
modifier: "control"
keycode: "char_e"
mode: "emacs"