aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/edit
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 20:27:35 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-18 20:32:53 +0530
commit5cf34717161bd866a634d8a9ad209afb4004857b (patch)
treee63a1f4849c7ebb7658725a4369caa48a0710af4 /plugins/edit
parent12ce9451ee1c24ad245d33e8944ba77a1108b5b2 (diff)
downloadnnn-5cf34717161bd866a634d8a9ad209afb4004857b.tar.gz
Plugins!
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)"