summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/lf/lfrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index e783d72..bb15c62 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -162,7 +162,14 @@ map V push :!nvim<space>
map W $setsid -f $TERMINAL >/dev/null 2>&1
-map Y $printf "%s" "$fx" | xclip -selection clipboard
+map U $printf "%s" "$fx" | xclip -selection clipboard
+map u $printf "%s" "$fx" | sed 's/.*\///' | xclip -selection clipboard
+map . $printf "%s" "$fx" | sed -E 's/^.+\[/https:\/\/www.youtube.com\/watch?v=/' | sed -E 's/\]\..+//' | xclip -selection clipboard
+map <gt> $printf "%s" "$fx" | sed -E 's/^.+\[/https:\/\/piped.video\/watch?v=/' | sed -E 's/\]\..+//' | xclip -selection clipboard
+map T $sxiv -t "$(pwd)" # opens thumbnail mode
+map <c-l> unselect
+
+
# Source Bookmarks
source "~/.config/lf/shortcutrc"