minor lf and aerc config change

This commit is contained in:
Tristan 2023-08-03 13:42:52 +01:00
parent a795dff97f
commit 4b98163f7e
2 changed files with 4 additions and 3 deletions

View file

@ -37,7 +37,6 @@ in
htop
imv
libsixel
lf-sixel
yt-dlp
playerctl
swww
@ -185,10 +184,12 @@ in
programs.lf.package = lf-sixel;
programs.lf.keybindings = {
D = "trash";
R = "drag";
"<f-2>" = ":rename";
"<enter>" = "open-with";
};
programs.lf.commands = {
drag = "%${pkgs.ripdrag}/bin/ripdrag -x \"$fx\"";
trash = "%${pkgs.trash-cli}/bin/trash-put \"$fx\"";
open = "$set -f; ${pkgs.ranger}/bin/rifle -p 0 \"$fx\"";
open-with = ''''${{

View file

@ -112,7 +112,7 @@ in
t = :toggle-threads<Enter>
<Enter> = :view<Enter>
D = :delete<Enter>
D = :trash<Enter>
C = :compose<enter>
@ -148,7 +148,7 @@ in
| = :pipe -m<space>
S = :save<space>
H = :toggle-headers<Enter>
D = :delete<Enter>
D = :trash<Enter>
<C-k> = :prev-part<Enter>
<C-j> = :next-part<Enter>
J = :next<Enter>