dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9396407ba29e7ef2e93d7617760c3b8955be9e12
parent fda1e4c97b85a83fd66f4fe5a636ec1e41fa2a56
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 10 Nov 2020 20:58:37 +0100

lf: filter command

Former-commit-id: a3aaf649bdffd0612ec1ff4f324e977b8f4c6cec
Diffstat:
Mlf/lfrc | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/lf/lfrc b/lf/lfrc @@ -203,6 +203,13 @@ cmd pgp_sign_detach ${{ gpg --detach-sign $f }} +# Select based on glob filter +cmd filter %{{ + printf "Filter: " + read -r filter_expr + lf -remote "send $id unselect" + lf -remote "send $id glob-select $filter_expr" +}} # }}} # Mappings {{{ # execute current file (must be executable) @@ -259,6 +266,9 @@ map g. cd ~/.dotfiles map gv cd /Volumes map gt cd ~/.Trash/ +map <space> :toggle; down +map F filter + map u map uu unselect map uy clear