aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/edit
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/edit')
-rwxr-xr-xplugins/edit8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/edit b/plugins/edit
new file mode 100755
index 0000000..6155250
--- /dev/null
+++ b/plugins/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)"