From da336974fa994f6971402473460cd00def074fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 4 Jun 2025 18:38:47 +1100 Subject: lf: rebind r to less destructive action * Rebind "archive" (rsync -a) action to R. * Rebind reload to r. Too many time have I pressed that key by accident, fortunately without any irreversible damage. Also use reload far more often than "archive". --- dotfiles/.config/lf/lfrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles/.config/lf/lfrc') diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc index 4069f05..72d39c7 100644 --- a/dotfiles/.config/lf/lfrc +++ b/dotfiles/.config/lf/lfrc @@ -149,7 +149,7 @@ map i push A # rename before extention map a push A # rename after extention map push :mkdir map push :$touch -map reload +map r reload map shell map D delete map shell @@ -162,7 +162,7 @@ map Y :yank-path map L $LESSOPEN='| ~/.local/bin/scope %s' less -r $f # open file preview in pager map P hard_link map soft_link -map r archive +map R archive # Mouse bindings map :dragon -- cgit v1.2.3