From 0a29cfbf4facff29569535040a4ce90f2f033dd3 Mon Sep 17 00:00:00 2001 From: Mahdi Nayef Date: Wed, 24 May 2023 16:28:56 +0300 Subject: [PATCH] Fix rename key bindings in lf (#1331) --- .config/lf/lfrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index e3bace6..d1c9402 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -113,11 +113,11 @@ map X !$f map o &mimeopen "$f" map O $mimeopen --ask "$f" -map A rename # at the very end +map A :rename; cmd-end # at the very end map c push A # new rename -map I push A # at the very beginning -map i push A # before extension -map a push A # after extension +map I :rename; cmd-home # at the very beginning +map i :rename # before extension +map a :rename; cmd-right # after extension map B bulkrename map b $setbg $f