diff --git a/README.md b/README.md index 0f9ca5e6..b335f918 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Privacy Awareness License Wiki +Donate via PayPal!

@@ -23,9 +24,33 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw Once installed (instructions below), visit the [Wiki](https://github.com/jarun/nnn/wiki). -

-Donate via PayPal! -

+## Black magic! + +1. Turbo navigate with automatic dir selection +2. Select files from anywhere (not just a single dir) +3. Run custom commands with custom hotkeys +4. Edit and preview markdown, man page, html quickly +5. Open a file and auto-proceed to the next +6. Export (filtered) list of files to a text file +7. Find files by mime-type and list in `nnn` +8. Write a plugin in any language you know +9. Configure the middle mouse click to do anything +10. Fuzzy search subtree and open the directory of a file +11. Load four dirs with custom settings at once +12. Show notifications on cp, mv completion +13. Auto-sync selection to system clipboard +14. Open text files detached in another pane/tab/window +15. Create files/dirs/duplicates with parents (like `mkdir -p`) +16. Toggle hidden with ., go HOME with ~ or to the last dir with - +17. Pin a frequently visited directory at runtime +18. Mount any cloud storage service in few keypresses +19. Mount and modify archives +20. Filter filtered entries +21. Sort files by access time and inode change time +22. Access selection from another instance of `nnn` +23. Compile out features you don't need +24. Watch matrix text flying or read random fortune messages +25. Configure it in 5 minutes! ## Features diff --git a/nnn.1 b/nnn.1 index 2ab10bf3..69efdcf5 100644 --- a/nnn.1 +++ b/nnn.1 @@ -280,6 +280,16 @@ or redirect a list from a file: nnn < files.txt .Ed .Pp +Handy bash/zsh shell function to list files by mime-type in current directory: +.Bd -literal + # to show video files, run: list video + + list () + { + find . -maxdepth 1 | file -if- | grep "$1" | awk -F: '{printf "%s\0", $1}' | nnn + } +.Ed +.Pp A temporary directory will be created containing symlinks to the given paths. Any action performed on these symlinks will be performed only on their targets, after which they might become invalid.