aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/README.md1
-rwxr-xr-xplugins/treeview8
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 95e2321..b3a3a3c 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -44,6 +44,7 @@ The currently available plugins are listed below.
| sxiv | sh | sxiv | View images in dir, set wallpaper, copy path ([config](https://wiki.archlinux.org/index.php/Sxiv#Assigning_keyboard_shortcuts))|
| thumb | sh | [lsix](https://github.com/hackerb9/lsix) | View thumbnail of an image or dir of images |
| transfer | sh | curl | Upload file to transfer.sh |
+| treeview | sh | tree | Informative tree output in `$EDITOR` |
| uidgid | sh | ls, less | List user and group of all files in dir |
| upgrade | sh | curl | Upgrade nnn manually on Debian 9 Stretch |
| vidthumb | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),<br>[lsix](https://github.com/hackerb9/lsix) | Show video thumbnails in terminal |
diff --git a/plugins/treeview b/plugins/treeview
new file mode 100755
index 0000000..c8f8784
--- /dev/null
+++ b/plugins/treeview
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+# Description: Show tree output in $EDITOR
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+tree -ps | $EDITOR -