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%"];
|
||||
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
||||
changeDirWidgetOptions = [
|
||||
"--preview='${pkgs.tree}/bin/tree -L 1 \"{}\"'"
|
||||
"--preview '${pkgs.tree}/bin/tree -L 1 {}'"
|
||||
"--bind=space:toggle-preview"
|
||||
"--preview-window=hidden"
|
||||
];
|
||||
fileWidgetCommand = defaultCommand;
|
||||
fileWidgetOptions = ["--preview='head -$LINES {}'"];
|
||||
fileWidgetOptions = ["--preview 'head -$LINES {}'"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user