Arun Prakash Jana
4832fc5fe1
Drop fzy support
4 years ago
Todd Yamakawa
c8ecf06c51
Add a bookmarks plugin that supports names ( #558 )
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
4 years ago
Arun Prakash Jana
bf078c0a8a
Update docs
4 years ago
Arun Prakash Jana
8568cd6770
Change requires to dependencies
4 years ago
Arun Prakash Jana
cfbb8f2117
Uniform plugins
4 years ago
lvgx
f438ddc28c
preview-tui: fix tmux behaviour, del refs to nuke ( #559 )
As reported by @toddyamakawa
4 years ago
Arun Prakash Jana
2ea3ce552a
Shorten column width
4 years ago
lvgx
ba51b36931
Add a tmux/xterm based text previewer plugin ( #557 )
Uses `NNN_FIFO`, minimal dependencies.
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
4 years ago
Arun Prakash Jana
c360f5c908
which prints to screen
4 years ago
Arun Prakash Jana
97df7df297
Minor previewer plugin update, docs update
4 years ago
lvgx
f47700a609
Add a tabbed/xembed based file previewer plugin ( #552 )
* 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
4 years ago
Arun Prakash Jana
a563c1a553
Update docs
4 years ago
Arun Prakash Jana
6ee257920d
Fix context range check
4 years ago
Arun Prakash Jana
a950510342
Update docs
4 years ago
Arun Prakash Jana
69e132e36d
Update docs
4 years ago
lvgx
86e579799b
Add an option to print hovered files to a FIFO ( #548 )
* 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
4 years ago
Arun Prakash Jana
625c8d11f4
Refactor move_cursor()
4 years ago
Arun Prakash Jana
92f8fe14f2
Bind getplugs to installed version
4 years ago
Arun Prakash Jana
af71d470f5
Plugin finder: run custom find/fd/grep/rg/fzf and list
4 years ago
Arun Prakash Jana
ebb6f153b5
Context code '+' to create context smartly
4 years ago
Arun Prakash Jana
eee5057da5
Plugin mimelist: support reading file list from (cmd as) plugin
4 years ago
step
49eecd7684
Support $_Z_DATA environment variable ( #545 )
Support `$_Z_DATA` environment variable per z's documentation dcd5541e7d/z.1 (L78)
.
`$_Z_DATA` allows changing the default location of the z database file.
4 years ago
Arun Prakash Jana
da91228bba
Randomize mocp
4 years ago
Arun Prakash Jana
187750556c
Let mocp shuffle
4 years ago
Arun Prakash Jana
35fb89b972
Randomize mocp playlist
4 years ago
Arun Prakash Jana
eec0e6d18e
Various plugin improvements
4 years ago
KlzXS
babf379a74
Optimize dups ( #539 )
4 years ago
Arun Prakash Jana
bc572df55a
NNN_SEL: custom selection file
4 years ago
lvgx
7dab9d0d86
Add nbak plugin to backup all nnn config ( #528 )
* Add nbak plugin to backup all nnn config
* nbak: check cd, quote env
* nbak: print backup file name
* nbak: add --show option, to show shell config
* nbak: fix shellcheck warning
'type' is POSIX complient, AND we check that we're actually running
bash, but shellcheck can't understand this...
Then '-o' is POSIX complient too, but shellcheck thinks it's "not well defined".
* nbak: variable renames, archive hierarchy changes
* nbak: fix variable expansion
* nbak: remove --show option
* nbak: call interactive bash/zsh to get fun/aliases
* Add nbak entry in plugins/README.md
* nbak: change archive hierarchy
* plugins/README.md: make nbak description shorter
4 years ago
KlzXS
00148360e4
Plugin improvements ( #531 )
* Added padding for numbers in .nmv
* Add skim as an option in fzopen
* Remove unnecessary eval
Thanks @leovilok !
Co-Authored-By: lvgx <l@vgx.fr>
* Added note about whitespace
Co-authored-by: lvgx <l@vgx.fr>
4 years ago
Krisan Alifari
d549ae7486
Add nvim as a diff tool for getplugs plugin ( #527 )
* Add nvim as a diff tool for getplugs plugin
* Comment out `is_cmd_exists()`
* Add nvim diff tool for diffs plugin
* Add $EDITOR to nuke plugin for editing/reading text file format
* Modify diff command to fix CircleCI failures
* Fix getplugs prompt
* Allow nuke to use custom $PAGER
4 years ago
lvgx
7cc46510e3
nuke: add lowdown as alternative markdown viewer ( #524 )
See https://kristaps.bsd.lv/lowdown/
4 years ago
Krisan Alifari
aa7f1dabdd
Support $FZF_DEFAULT_COMMAND on fzopen plugin ( #514 )
4 years ago
Arun Prakash Jana
e5ba4f69bb
Update docs
4 years ago
Nick Waywood
415a6edd4a
Added support for fzy ( #505 )
* 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)
4 years ago
Nick Waywood
553f183919
Added fzfz plugin ( #502 )
* Added fzfz plugin
* Fixed shellcheck errors
* Fixed copy/paste error
4 years ago
Arun Prakash Jana
c01857cddb
Fix fzcd at /, minot refactor
4 years ago
Arun Prakash Jana
eea1b5da7d
Update docs
4 years ago
Arun Prakash Jana
54d2580799
Add fortune to help
4 years ago
KlzXS
aab90bf515
Add verbose option ( #497 )
4 years ago
Arun Prakash Jana
b8a973a91a
Update plugins to support some env vars
4 years ago
Arun Prakash Jana
ea2de804f8
batch rename: check dep, handle invalid input
4 years ago
Arun Prakash Jana
03e6d7d553
Adapt PR #495
4 years ago
KlzXS
c215c5de80
Convert batchrename to bash and rename it ( #495 )
4 years ago
Arun Prakash Jana
4e58ad318c
Update plugin docs
4 years ago
lvgx
d4b0ffa75e
Add x2sel plugin (reverse .cbcp) ( #494 )
This plugin is based on .cbcp and does basically the reverse operation.
It copies system clipboard newline-separated file list to selection.
4 years ago
Arun Prakash Jana
f527dd1c6a
Integrate batch renamer plugin
4 years ago
KlzXS
29fe67b799
Addressing #489 ( #490 )
* Fix empty printf, change separator for sed
* Added missing quotes
4 years ago
Arun Prakash Jana
3a9ddbd90f
Add batchrename to readme, minor Makefile change
4 years ago
KlzXS
f6ff9ae4aa
POSIX compliant batchrename plugin ( #488 )
* Added (almost) POSIX compliant batch rename script
* Not fully
* Added selection/current prompt
4 years ago