From c1af8c0ef031d08812330e1cea925d3858bf6354 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Wed, 24 May 2023 22:56:28 +0530 Subject: [PATCH] lf: rename keybindings, icons --- .config/lf/icons | 2 +- .config/lf/lfrc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/lf/icons b/.config/lf/icons index bdfebc1..0157987 100644 --- a/.config/lf/icons +++ b/.config/lf/icons @@ -5,7 +5,7 @@ or  ex  *.vimrc  *.viminfo  -*.gitignore  +*.gitignore  *.c  *.cc  *.clj  diff --git a/.config/lf/lfrc b/.config/lf/lfrc index d88c77e..9b70adb 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -8,7 +8,7 @@ set drawbox true set period 1 set cleaner '~/.config/lf/cleaner' set previewer '~/.config/lf/scope' -set autoquit on +set autoquit true # cmds/functions cmd open ${{ @@ -84,11 +84,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 br $vimv map bg $genwall $f