From: Andre Ramnitz Date: Sat, 26 Oct 2024 16:06:30 +0000 (+0200) Subject: lf: move some keybinds from main char 't' to 'a' X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=5915a38a5630d64d4ba4a983637153bd59b29aec;p=dotfiles.git lf: move some keybinds from main char 't' to 'a' --- diff --git a/dot-config/lf/lfrc b/dot-config/lf/lfrc index 72d4a298..e3c27d0c 100644 --- a/dot-config/lf/lfrc +++ b/dot-config/lf/lfrc @@ -54,13 +54,13 @@ set scrolloff 3 map trash # map delete -cmd touchdir ${{ +cmd add-dir ${{ printf "Directory name:" read ans mkdir $ans }} -cmd touchfile ${{ +cmd add-file ${{ printf "File name:" read ans touch $ans @@ -334,7 +334,7 @@ cmd selected-to-new-folder ${{ # helpers cmd open-with-gui &$@ $fx # opens asynchronously, intended for GUI applications cmd open-with-cli $$@ $fx # opens synchronously, intended for CLI/TUI applications -cmd set-swww-wallpaper %{{swww img $f}} +cmd apply-wallpaper %{{swww img $f}} cmd chdir cd "$@" # options per location @@ -361,9 +361,10 @@ map mm mark-save map mr mark-remove map ml mark-load -# t = touch -map td touchdir -map tt touchfile +# a = add/apply +map ad add-dir +map af add-file +map aw :apply-wallpaper # c = change map cd push :cd @@ -427,4 +428,3 @@ map + push :glob-select map - push :glob-unselect map push :open-with-gui map push :open-with-cli -map W :set-swww-wallpaper