aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts/edit
diff options
context:
space:
mode:
Diffstat (limited to 'user-scripts/edit')
-rwxr-xr-xuser-scripts/edit12
1 files changed, 12 insertions, 0 deletions
diff --git a/user-scripts/edit b/user-scripts/edit
new file mode 100755
index 0000000..f23d7a8
--- /dev/null
+++ b/user-scripts/edit
@@ -0,0 +1,12 @@
+#!/usr/bin/env sh
+
+# Description: Fuzzy find a file in directory subtree with fzy and edit in vim
+#
+# Shell: generic
+# Author: Arun Prakash Jana
+
+# bash, zsh
+vim $(find -type f | fzy)
+
+# fish
+# vim (find -type f | fzy)