non important commit
This commit is contained in:
parent
dfac501d3d
commit
ea48fbc85f
2 changed files with 5 additions and 17 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue