- rename `wall` to `wallpaper`
- remove `upgrade` - packaging is on OBS now
- remove `treeview` - needs minor preview-tui tweak
- remove `picker` - `nnn -p -` does the same
Even if selection mode is not on, it helps to show
number of files currently selected in local buffer.
Say, after running a plugin selection mode goes off.
However, if the plugin doesn't clear the selection
buffer, the files still remain selected in buffer.
Plugins like fzopen have the capability to pick files.
This comes handy if nnn is executing as a file picker.
This is a 2-way communication:
- nnn sends the picker output file to plugin ("-" for stdout)
- the plugin tells nnn if it has overwritten the output file
* Fuzzy find plugins and run them
* Hide find warning when $otherplugins is not set
* Fix prompt on error 2
* Use /home/mathieu
* unmount-parent plugin
* Add dependencies and shell description
* Add dependencies and fix CI issue?
* Improve fzfplug prompt, fix shellcheck warnings, restore mistakenly deleted line in README
* Typo
* Make both scripts POSIX-compliant and small improvements
* Final cosmetic changes
* bis
* Clarify description
* Typo
* Typo
* Better support for custom dirs and use bat if available
Co-authored-by: M <>
* Add new plugin
* Small cdpath refactoring
* Change the default CDPATH value, remove string indexing.
* Remove readlink() call to be POSIX compliant.
* Fix the comment
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: added some quotes
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
* Unified preview-tui and preview-kitty
* Remove preview-kitty
* No need to set $TERMINAL
* fix undeclared variable
* Integrated support for scope.sh
* Review fixes
* allow_remote_control must be enabled on kitty
* Documentation, kitty splits and images fallback
* fix restoring kitty layout
* Add -a option to generate a temporary NNN_FIFO
* Add documentation for -a option
* plugins/README.md: promote the use of -a
This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:
Polish -a
* Allow launching plugins with Alt + plugin's key
* Fix Alt key in filter/prompts modes
* Fix handling Alt key in nextsel()
In filter mode: run the associated plugin.
In prompt mode: just throw out the Alt+key input.
In nextsel(): differentiate Alt+key and Esc
* Add a tabbed/xembed based file previewer plugin
This plugin is written in bash, because job control is not well
specified in POSIX sh (`jobs` can return anything).
We use `tabbed` [1] as a xembed [2] host, to have a single window
owning each previewer window.
Uses mpv, sxiv, zathura, and the nuke plugin.
[1]: http://tools.suckless.org/tabbed/
[2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html
* tabbed-preview: prevent focus steal with xdotool
* preview-tabbed: tabs->4 spaces
* preview-tabbed: add focus prevention timeout
* Add an option to print hovered files to a FIFO
This adds an env variable, `NNN_FIFO`, that can be set to a path that
`nnn` will open/create as a FIFO, and where every hovered file's path is
printed. This allows creating external perview/quick open plugins, ...
It can be compiled out with the make variable `O_NOFIFO`.
* Check filename ptr instead of full path (for FIFO)
* Add documentation to use NNN_FIFO in plugins
* Fix path sent to FIFO in empty dirs
* Added fzfz plugin
* Fixed shellcheck errors
* Fixed copy/paste error
* Added support for fzy, also renamed plugin since it's not specific to fzf anymore
* Refactored code
* Clean spillovers (jarun)