aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts/edit
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-17 18:39:21 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-17 18:40:54 +0530
commite1bd7c68524e8fac8279863d8b5f3b249f22942d (patch)
tree49698d55bd2930b706e1bfdc26f893f6f2cfc0f1 /user-scripts/edit
parentff0378c18b73009b5293c34e4e709054b69e7cd7 (diff)
downloadnnn-e1bd7c68524e8fac8279863d8b5f3b249f22942d.tar.gz
Drop the .sh subscripts
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)