diff options
| author | Mike Vink <mike@pionative.com> | 2024-02-25 13:43:05 +0100 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-02-25 13:43:05 +0100 |
| commit | eb1d06ef7fa976bd1f1ff57bbbc790f88b48214c (patch) | |
| tree | ed6a51096db1d64f4f5ed3de871032dc28a7f104 /mut/lf/lfrc | |
| parent | 1a45bc736bead8086eed5f3cf140102e8953e7e3 (diff) | |
remote again
Diffstat (limited to 'mut/lf/lfrc')
| -rw-r--r-- | mut/lf/lfrc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mut/lf/lfrc b/mut/lf/lfrc index cca28fd..7887ef5 100644 --- a/mut/lf/lfrc +++ b/mut/lf/lfrc @@ -27,7 +27,8 @@ set previewer '~/.config/lf/scope' set autoquit true cmd z %{{ - result="$(zoxide query --exclude "${PWD}" -- "$0")" + echo "$1" > ~/lflogs + result="$(zoxide query --exclude "${PWD}" -- "$1")" lf -remote "send ${id} cd '${result}'" }} map z push :z<space> @@ -137,6 +138,7 @@ cmd bulkrename ${{ }} # Bindings +map . $$EDITOR ${PWD} map <c-f> $lf -remote "send $id select \"$(fzf)\"" map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)" map gh |
