summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-07-29 14:08:56 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-07-29 14:08:56 +0400
commit78757f083bfeca8cc8d6ddb3be7fffbac2154c6c (patch)
tree92fa02a166a82dfbb161b6e6498cbe21f1951f5a /config
parent80031694d31ed034f3abc8732a5d5c077ebb2c61 (diff)
lfrc: fzf bug fix and some keybinds changed to ctrl
Diffstat (limited to 'config')
-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