diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-06-04 18:38:47 +1100 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-06-04 18:38:47 +1100 |
commit | da336974fa994f6971402473460cd00def074fb4 (patch) | |
tree | b88d41a3e1c3c1bac6ea6d014573a24b85c03d9b | |
parent | effd1a6ecb14467d35b10d1f4becdce5e4abde00 (diff) | |
download | swayrice-da336974fa994f6971402473460cd00def074fb4.tar.gz swayrice-da336974fa994f6971402473460cd00def074fb4.zip |
lf: rebind r to less destructive actionniri
* 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".
-rw-r--r-- | dotfiles/.config/lf/lfrc | 4 |
1 files changed, 2 insertions, 2 deletions
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<a-b><a-b><a-f> # rename before extention map a push A<a-b> # rename after extention map <c-n> push :mkdir<space> map <c-t> push :$touch<space> -map <c-r> reload +map r reload map <enter> shell map D delete map <enter> 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 <a-p> soft_link -map r archive +map R archive # Mouse bindings map <m-3> :dragon |