From 78757f083bfeca8cc8d6ddb3be7fffbac2154c6c Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Mon, 29 Jul 2024 14:08:56 +0400 Subject: lfrc: fzf bug fix and some keybinds changed to ctrl --- config/lf/lfrc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'config/lf/lfrc') diff --git a/config/lf/lfrc b/config/lf/lfrc index 68bdeb5..3bc3b77 100644 --- a/config/lf/lfrc +++ b/config/lf/lfrc @@ -1,4 +1,4 @@ -# Suleyman's lf config at "https://git.farajli.net/slcf.git" +# Suleyman's gruvbox themed lf config at "https://github.com/thei0n/slcf" # Due to the facts that ueberzug is no longer maintained and adds extra \ # complexity it is not included in the config @@ -12,19 +12,19 @@ map shell map m push $mkdir map t push $touch map D trash -map gf $lf -remote "send $id select $(fzf --layout=reverse --height=10)" +map $lf -remote "send $id select \"$(fzf --reverse)\"" map x $$f # execute current file (must be executable) map zb :{{ set sortby natural; set info size; set preview; set ratios 5:2; }} map zz :{{ set preview; set ratios 1:2:3; }} # Directory change -map gh cd ~ -map gc cd ~/.config -map gr cd /tmp -map gu cd /usr/local/bin -map gp cd ~/proj -map gt cd ~/tproj +map cd ~ +map cd ~/proj +map cd ~/tproj +map cd ~/.config +map cd ~/tmp +map cd /usr/local/bin # Colors set cursoractivefmt "\033[0;1;7m" #white @@ -38,6 +38,7 @@ set rulerfmt "\033[32;1;7m" set promptfmt "\033[48;1;234m %w/%f" + cmd trash ${{ mkdir -p ~/.trash if [ -z "$fs" ]; then -- cgit v1.2.3