mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(fzf): preview commands
This commit is contained in:
@@ -11,12 +11,12 @@
|
|||||||
defaultOptions = ["--height=40%"];
|
defaultOptions = ["--height=40%"];
|
||||||
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
||||||
changeDirWidgetOptions = [
|
changeDirWidgetOptions = [
|
||||||
"--preview '${pkgs.tree}/bin/tree -L 1 {}'"
|
"--preview='${pkgs.tree}/bin/tree -L 1 {}'"
|
||||||
"--bind=space:toggle-preview"
|
"--bind=space:toggle-preview"
|
||||||
"--preview-window=hidden"
|
"--preview-window=hidden"
|
||||||
];
|
];
|
||||||
fileWidgetCommand = defaultCommand;
|
fileWidgetCommand = defaultCommand;
|
||||||
fileWidgetOptions = ["--preview 'head -$LINES {}'"];
|
fileWidgetOptions = ["--preview='head -$LINES {}'"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user