Commit Graph

211 Commits

Author SHA1 Message Date
Arun Prakash Jana fb6ca79197
Plugin cleanup 1
- 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
2021-06-06 10:44:10 +05:30
Luuk van Baal e4988f0264 Preview-tui-ext to preview-tui 2021-05-30 23:48:10 +02:00
Luuk van Baal b6fd7d928c Add ucollage to imgview 2021-05-30 21:33:48 +02:00
Luuk van Baal 2f9c700537 Merge image plugins 2021-05-30 20:11:54 +02:00
Arun Prakash Jana 85c108a5d6
Decouple variable documentation section 2021-05-29 10:25:21 +05:30
Arun Prakash Jana 4bc8e1a8be
Rename plugin fzdirs to fzcd, retains fzcd features 2021-05-29 01:12:12 +05:30
Arun Prakash Jana 462531b8c7
Plugin fzdirs: fuzzy search multiple directories 2021-05-28 19:17:08 +05:30
Arun Prakash Jana 831287c92e
Show number of files selected in local buffer, if any
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.
2021-05-27 23:47:59 +05:30
Arun Prakash Jana 30ee27802e
plugin cleanfilename -> fixname, unmount-parent -> umounttree 2021-05-27 19:19:51 +05:30
Arun Prakash Jana cbc4587630
Fix nnn.vim #82: support picker plugins
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
2021-05-17 01:11:35 +05:30
Arun Prakash Jana 4dcefcc4d4
Rename plugin mocplay to mocq 2021-05-16 00:25:47 +05:30
Kabouik 69d63ff50e
Add plugin cmusq (#1010)
* Fix conflict with #1006

* Queue/play in cmus player

* Remove leftover comments

* start_cmus function, optional xdotool dependency, better process waiting

* start_cmus function, better process waiting, optional xdotool dep

* Merge conflicts

* Better reporting of past actions

* Discriminate newly started queue and existing queue

* Harmonize descriptions, rename cmusqueue to cmusq, clean cmusq code

* Remove cmusqueue

* Exit if cmus missing and style changes

Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2021-05-16 00:15:48 +05:30
Arun Prakash Jana f343f315b5
Replace which with builtin type in plugins 2021-05-14 17:33:28 +05:30
lawnowner 9cbb7f540c
Add the xdgdefault plugin (#1003) 2021-05-13 16:13:21 +05:30
Kabouik c2aeb51bcc
[Plugins] Fuzzy find plugins and run them; unmount mountpoints from their subfolders (#977)
* 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 <>
2021-05-01 06:23:33 +05:30
Arun Prakash Jana 4648a56178
Add QuickLook to description 2021-04-23 04:07:26 +05:30
exoton 42aa97b112
Add new plugin (#928)
* Add new plugin

* Small cdpath refactoring

* Change the default CDPATH value, remove string indexing.

* Remove readlink() call to be POSIX compliant.

* Fix the comment
2021-03-29 08:09:42 +05:30
Arun Prakash Jana 603c1580e8
Set correct plugin language 2021-03-28 01:51:43 +05:30
Arun Prakash Jana 6dfea38999
Update readme 2021-03-28 01:46:07 +05:30
Arun Prakash Jana 37fbed2fb7
Fix plugin readme table 2021-03-27 19:34:41 +05:30
Arun Prakash Jana 7f5dbd11e3
Fix #917: enhance plugin framework to clear sel on request
With this enhancement, plugins which operate on selection
can explicitly request the program to clear the selection.
2021-03-27 17:12:21 +05:30
Arun Prakash Jana f602cbee07
Reorder table alphabetically 2021-03-25 01:11:10 +05:30
Benawi Adha f176d81ea0
plugin: verbosepaste: gives copy-paste verbose progress percentage (#914)
* plugin: verbosepaste: gives copy-paste verbose progress percentage

* plugin: verbosepaste: gives copy-paste verbose progress percentage
2021-03-24 17:39:08 +05:30
Benawi Adha c61a716e11
plugin: cleanfilename: clean filename to be more shell-friendly (#913)
* 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
2021-03-24 14:51:38 +05:30
Benawi Adha 638676a689
plugins: mtpmount: toggle mount of MTP devices (#909)
* 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
2021-03-23 19:42:10 +05:30
luukvbaal fdf40df5e9
replace preview-tui demo (#898) 2021-03-20 15:14:18 +05:30
luukvbaal 2e4aca5e6b
preview-tui(-ext) subshell job control (#891)
* subshell job control

* remove unnecessary kill

* Update docs

* update PAGER and tree command

* restore clear
2021-03-20 06:28:46 +05:30
Arun Prakash Jana a88bbe1a9c
Use earlier asciicast in plugins readme. 2021-03-20 06:26:14 +05:30
Luuk van Baal 77cde578e0 preview-tui demo 2021-03-19 22:08:10 +01:00
Arun Prakash Jana 5f0b3b74d0
Fix #889: clear selection if plugin doesn't send data 2021-03-19 00:00:37 +05:30
Arun Prakash Jana 519ea8347e
Update docs 2021-03-14 16:23:46 +05:30
Arun Prakash Jana 1ac4b9bd5a
Fix #813: plugin togglex - toggle exe mode for selection 2020-12-12 20:05:58 +05:30
Arun Prakash Jana a7fd4957dd
shellcheck fixes 2020-11-22 20:30:52 +05:30
Arun Prakash Jana 8b9e0edc94
Update plugin notes and table 2020-11-08 21:37:19 +05:30
Doug Headley 2b3b0990cc Plugin readme improvement 2020-10-30 22:00:46 -07:00
Arun Prakash Jana 57163ffa5d
Update plugin 2020-10-21 10:50:56 +05:30
Dave Snider f79af220c7
Small plugin for jump. Also adds check for NNN_PIPE to autojump plugin (#714)
* Add jump plugin to nnn

* indents

* Readme for plugin

* add pipe check to autojump

* indents to 4

Merge plugins jump and autojump
2020-08-29 05:36:19 +05:30
Arun Prakash Jana 6a4ff8b825
Update docs 2020-08-17 14:08:04 +05:30
Arun Prakash Jana 509f069818
Add quick find (fd) and grep (rg) plugin examples 2020-07-06 23:43:48 +05:30
KlzXS 6147dc9a85
Add plugin bulknew (#662)
* Add plugin bulknew

* Update documentation

* Update dependencies

* Add whitespace note
2020-06-20 15:39:32 +02:00
Arun Prakash Jana 0f67e1ff7d
support imv in imgview and nuke 2020-06-11 01:49:40 +05:30
Arun Prakash Jana a103f513c3
Use Firefox Send for upload if ffsend is found 2020-06-10 23:32:03 +05:30
Arun Prakash Jana ef0e973134
Add hx as alternative hex viewer 2020-06-10 22:33:59 +05:30
Mario c203ae7fa8
Easier to browse plugin README.md (#641) 2020-06-09 19:29:28 +05:30
Arun Prakash Jana aea8f737f6
Update docs 2020-06-09 11:44:20 +05:30
Mario a47d190654
Unified preview-tui and preview-kitty scripts (#634)
* 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
2020-06-09 07:16:35 +05:30
Arun Prakash Jana c5f0a25e7e
Simplify subdir creation 2020-06-08 21:56:33 +05:30
Arun Prakash Jana 056ef8b23d
Update docs 2020-06-04 20:22:35 +05:30
KlzXS 1f3ce3ae94
Added selection prompt and README entry (#633) 2020-06-04 20:21:50 +05:30
Arun Prakash Jana 10a43a4fbb
Add Live Previews asciicast
Thanks @Kabouik!
2020-06-04 09:33:48 +05:30