summaryrefslogtreecommitdiff
path: root/config/lf/lfrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/lf/lfrc')
-rw-r--r--config/lf/lfrc17
1 files changed, 9 insertions, 8 deletions
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 <enter> shell
map m push $mkdir<space>
map t push $touch<space>
map D trash
-map gf $lf -remote "send $id select $(fzf --layout=reverse --height=10)"
+map <c-f> $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 <c-h> cd ~
+map <c-p> cd ~/proj
+map <c-t> cd ~/tproj
+map <c-c> cd ~/.config
+map <c-r> cd ~/tmp
+map <c-u> 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