|
|
@@ -12,49 +12,49 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina |
|
|
|
|
|
|
|
## List of plugins |
|
|
|
|
|
|
|
| Plugin (a-z) | Lang | Deps | Description | |
|
|
|
| Plugin (a-z) | Description | Lang | Deps | |
|
|
|
| --- | --- | --- | --- | |
|
|
|
| boom | sh | [moc](http://moc.daper.net/) | Play random music from dir | |
|
|
|
| dups | sh | find, md5sum,<br>sort uniq xargs | List non-empty duplicate files in current dir | |
|
|
|
| checksum | sh | md5sum,<br>sha256sum | Create and verify checksums | |
|
|
|
| dragdrop | sh | [dragon](https://github.com/mwh/dragon) | Drag/drop files from/into nnn | |
|
|
|
| exetoggle | sh | chmod | Toggle executable status of hovered file | |
|
|
|
| fzcd | sh | fzy/fzf<br>(optional fd) | Change to the directory of a fuzzy-selected file/dir | |
|
|
|
| fzhist | sh | fzy | Fuzzy-select a cmd from history, edit in $EDITOR and run | |
|
|
|
| fzopen | sh | fzy, xdg-open | Fuzzy find a file in dir subtree and edit or xdg-open | |
|
|
|
| getplugs | sh | curl | Update plugins | |
|
|
|
| gutenread | sh | curl, unzip, w3m<br>[epr](https://github.com/wustho/epr) (optional)| Browse, download, read from Project Gutenberg | |
|
|
|
| hexview | sh | xxd | View a file in hex in `$PAGER` | |
|
|
|
| imgresize | sh | [imgp](https://github.com/jarun/imgp) | Resize images in dir to screen resolution | |
|
|
|
| imgur | bash | - | Upload an image to imgur (from [imgur-screenshot](https://github.com/jomo/imgur-screenshot)) | |
|
|
|
| ipinfo | sh | curl, whois | Fetch external IP address and whois information | |
|
|
|
| kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device | |
|
|
|
| mediainf | sh | mediainfo | Show media information | |
|
|
|
| moclyrics | sh | [ddgr](https://github.com/jarun/ddgr), [moc](http://moc.daper.net/) | Show lyrics of the track playing in moc | |
|
|
|
| mocplay | sh | [moc](http://moc.daper.net/) | Append (and/or play) selection/dir/file in moc| |
|
|
|
| ndiff | sh | vimdiff | Diff for selection (limited to 2 for directories) | |
|
|
|
| nmount | sh | pmount, udisks2 | Toggle mount status of a device as normal user | |
|
|
|
| notes | sh | - | Open a quick notes file/dir in `$EDITOR` | |
|
|
|
| nwal | sh | nitrogen | Set image as wallpaper using nitrogen | |
|
|
|
| oldbigfile | sh | find, sort | List large files by access time | |
|
|
|
| organize | sh | file | Auto-organize files in directories by file type | |
|
|
|
| pastebin | sh | - | Paste contents of a text a file ix.io | |
|
|
|
| pdfview | sh | pdftotext/<br>mupdf-tools | View PDF file in `$PAGER` | |
|
|
|
| picker | sh | nnn | Pick files and list one per line (to pipe) | |
|
|
|
| pskill | sh | fzy, sudo/doas | Fuzzy list by name and kill process or zombie | |
|
|
|
| pywal | sh | pywal | Set image as wallpaper, change terminal colorscheme | |
|
|
|
| readit | sh | pdftotext, mpv,<br>pico2wave | Read a PDF or text file aloud | |
|
|
|
| ringtone | sh | date, ffmpeg | Create a variable bitrate mp3 ringtone from file | |
|
|
|
| splitjoin | sh | split, cat | Split file or join selection | |
|
|
|
| suedit | sh | sudoedit/sudo/doas | Edit file using superuser permissions | |
|
|
|
| sxiv | sh | sxiv | Browse images, set wallpaper, copy path ([config](https://wiki.archlinux.org/index.php/Sxiv#Assigning_keyboard_shortcuts)), [rename](https://github.com/jarun/nnn/wiki/Basic-use-cases#browse-rename-images)| |
|
|
|
| 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 | |
|
|
|
| viuimg | sh | [viu](https://github.com/atanunq/viu), less | View an image or images in dir in `$PAGER` | |
|
|
|
| boom | Play random music from dir | sh | [moc](http://moc.daper.net/) | |
|
|
|
| dups | List non-empty duplicate files in current dir | sh | find, md5sum,<br>sort uniq xargs | |
|
|
|
| checksum | Create and verify checksums | sh | md5sum,<br>sha256sum | |
|
|
|
| dragdrop | Drag/drop files from/into nnn | sh | [dragon](https://github.com/mwh/dragon) | |
|
|
|
| exetoggle | Toggle executable status of hovered file | sh | chmod | |
|
|
|
| fzcd | Change to the directory of a fuzzy-selected file/dir | sh | fzy/fzf<br>(optional fd) | |
|
|
|
| fzhist | Fuzzy-select a cmd from history, edit in $EDITOR and run | sh | fzy | |
|
|
|
| fzopen | Fuzzy find a file in dir subtree and edit or xdg-open | sh | fzy, xdg-open | |
|
|
|
| getplugs | Update plugins | sh | curl | |
|
|
|
| gutenread | Browse, download, read from Project Gutenberg | sh | curl, unzip, w3m<br>[epr](https://github.com/wustho/epr) (optional) | |
|
|
|
| hexview | View a file in hex in `$PAGER` | sh | xxd | |
|
|
|
| imgresize | Resize images in dir to screen resolution | sh | [imgp](https://github.com/jarun/imgp) | |
|
|
|
| imgur | Upload an image to imgur (from [imgur-screenshot](https://github.com/jomo/imgur-screenshot)) | bash | - | |
|
|
|
| ipinfo | Fetch external IP address and whois information | sh | curl, whois | |
|
|
|
| kdeconnect | Send selected files to an Android device | sh | kdeconnect-cli | |
|
|
|
| mediainf | Show media information | sh | mediainfo | |
|
|
|
| moclyrics | Show lyrics of the track playing in moc | sh | [ddgr](https://github.com/jarun/ddgr), [moc](http://moc.daper.net/) | |
|
|
|
| mocplay | Append (and/or play) selection/dir/file in moc | sh | [moc](http://moc.daper.net/) | |
|
|
|
| ndiff | Diff for selection (limited to 2 for directories) | sh | vimdiff | |
|
|
|
| nmount | Toggle mount status of a device as normal user | sh | pmount, udisks2 | |
|
|
|
| notes | Open a quick notes file/dir in `$EDITOR` | sh | - | |
|
|
|
| nwal | Set image as wallpaper using nitrogen | sh | nitrogen | |
|
|
|
| oldbigfile | List large files by access time | sh | find, sort | |
|
|
|
| organize | Auto-organize files in directories by file type | sh | file | |
|
|
|
| pastebin | Paste contents of a text a file ix.io | sh | - | |
|
|
|
| pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>mupdf-tools | |
|
|
|
| picker | Pick files and list one per line (to pipe) | sh | nnn | |
|
|
|
| pskill | Fuzzy list by name and kill process or zombie | sh | fzy, sudo/doas | |
|
|
|
| pywal | Set image as wallpaper, change terminal colorscheme | sh | pywal | |
|
|
|
| readit | Read a PDF or text file aloud | sh | pdftotext, mpv,<br>pico2wave | |
|
|
|
| ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg | |
|
|
|
| splitjoin | Split file or join selection | sh | split, cat | |
|
|
|
| suedit | Edit file using superuser permissions | sh | sudoedit/sudo/doas | |
|
|
|
| sxiv | Browse images, set wallpaper, copy path ([config](https://wiki.archlinux.org/index.php/Sxiv#Assigning_keyboard_shortcuts)), [rename](https://github.com/jarun/nnn/wiki/Basic-use-cases#browse-rename-images)| sh | sxiv | |
|
|
|
| thumb | View thumbnail of an image or dir of images | sh | [lsix](https://github.com/hackerb9/lsix) | |
|
|
|
| transfer | Upload file to transfer.sh | sh | curl | |
|
|
|
| treeview | Informative tree output in `$EDITOR` | sh | tree | |
|
|
|
| uidgid | List user and group of all files in dir | sh | ls, less | |
|
|
|
| upgrade | Upgrade nnn manually on Debian 9 Stretch | sh | curl | |
|
|
|
| vidthumb | Show video thumbnails in terminal | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),<br>[lsix](https://github.com/hackerb9/lsix) | |
|
|
|
| viuimg | View an image or images in dir in `$PAGER` | sh | [viu](https://github.com/atanunq/viu), less | |
|
|
|
|
|
|
|
## Installing plugins |
|
|
|
|
|
|
|