commit d6794ff19fa348e68e292ab5913fbeaa0af74009
parent 33555005963e57c8735be33985af40f52fa733bd
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 22 Jan 2019 20:57:54 -0500
Add a fuzzy search for hidden directories and reload command.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
@@ -37,7 +37,13 @@ map <a-w> copy
map <c-y> paste
# Fuzzy search for current directory and below.
+# Only search non-hidden directories.
map <c-s> $lf -remote "send $id select '$(fd --no-ignore-vcs -t d | fzf)'"
+# Include hidden ones.
+map <a-s> $lf -remote "send $id select '$(fd --no-ignore-vcs -H -t d | fzf)'"
+
+# Reload
+map <c-g> reload
# define a custom 'open' command
# This command is called when current file is not a directory. You may want to