dotfiles

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

git clone git://git.shimmy1996.com/dotfiles.git
commit 6eee91aea0ea953ffd3d75aef64892eb4ecc64e3
parent a2bb8388398e34cd38e87d868c10e4eaeb1bd6a7
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue, 22 Jan 2019 10:34:44 -0500

Open a new emacs frame when editing files in lf.

Diffstat:
M.config/lf/lfrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
@@ -46,7 +46,7 @@ map <c-r> search-back
 # text files and a file opener for the rest.
 cmd open ${{
     case $(file --mime-type $f -b) in
-        text/*) $EDITOR $fx;;
+        text/*) nohup emacsclient -c -a emacs $fx > /dev/null 2> /dev/null &;;
         application/pdf) nohup zathura $fx > /dev/null 2> /dev/null &;;
         *) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
     esac