From: Andre Ramnitz Date: Sat, 14 Sep 2024 23:04:10 +0000 (+0200) Subject: lf: add cd command X-Git-Tag: v0.2~73 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=e3ff2cd4defea25dbc7c48151ca3cf95776c6754;p=dotfiles.git lf: add cd command --- diff --git a/config/dot-config/lf/lfrc b/config/dot-config/lf/lfrc index 9017966e..4836f619 100644 --- a/config/dot-config/lf/lfrc +++ b/config/dot-config/lf/lfrc @@ -334,6 +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 chdir cd "$@" # options per location setlocal ~ sortby name @@ -372,6 +373,7 @@ map td touchdir map tt touchfile # c = change +map cd push :cd map cw : rename map cm selected-to-new-folder map cy yank-file $printf '%s' "$f" | wl-copy -p -n @@ -386,6 +388,7 @@ map dZ delete #zap map gc cd ~/.config map gd cd ~/dotfiles map gf :fzf_search +map gl cd ~/.local map gL follow-link map gm cd /media map gM cd /mnt