dotfiles

Yes, my $HOME has a git repo now :(

git clone git://git.shimmy1996.com/dotfiles.git
commit 987fbb10bde763179697447cde74e5cdd3f2a215
parent 04619045ce21df2c6d4478fda7519bf01cad0406
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Wed, 23 Jan 2019 10:11:21 -0500

When opening images in lf, also open all other images in the same level.

Diffstat:
M.config/lf/lfrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
@@ -52,7 +52,7 @@ map <c-g> reload
 cmd open ${{
     case $(xdg-mime query filetype $f) in
         application/epub*|application/pdf|application/postscript|application/vnd.comicbook*|image/vnd.djvu*) nohup zathura $fx > /dev/null 2> /dev/null &;;
-        image/*) nohup imv -n $fx ./ > /dev/null 2> /dev/null &;;
+        image/*) nohup imv $fx $(fd --no-ignore-vcs -t f -d 1 . ./) > /dev/null 2> /dev/null &;;
         text/*) nohup emacsclient -c -a emacs $fx > /dev/null 2> /dev/null &;;
         *) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
     esac