aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/fzy-edit
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fzy-edit')
-rwxr-xr-xplugins/fzy-edit8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/fzy-edit b/plugins/fzy-edit
new file mode 100755
index 0000000..6155250
--- /dev/null
+++ b/plugins/fzy-edit
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+# Description: Fuzzy find a file in directory subtree with fzy and edit in vim
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+vim "$(find -type f | fzy)"