This commit is contained in:
ant 2024-03-31 07:54:18 +02:00
parent 7b9199c542
commit 0aac48f782
6 changed files with 101 additions and 79 deletions

4
lf.nix
View file

@ -66,7 +66,7 @@
shift
case "$mode" in
copy)
rsync -a --ignore-existing --info=progress2 -- "$@" . |
rsync -a --ignore-existing --info=progress2 --no-inc-recursive -- "$@" . |
stdbuf -i0 -o0 -e0 tr '\r' '\n' |
while IFS= read -r line; do
lf -remote "send $id echo $line"
@ -149,12 +149,12 @@
ai = "open_folder_in_sxiv";
aw = "send-warpinator";
E = "$nvim";
zp = "toggle_preview";
p = "alt-paste copy";
P = "alt-paste cut";
"<space>" = ":toggle; down; save-select";
u = ":unselect; save-select";
v = ":invert; save-select";
"<tab>" = "toggle_preview";
};
# previewer.source = "${pkgs.pistol}/bin/pistol";