Arun Prakash Jana
cfbb8f2117
Uniform plugins
4 jaren geleden
lvgx
f438ddc28c
preview-tui: fix tmux behaviour, del refs to nuke ( #559 )
As reported by @toddyamakawa
4 jaren geleden
Léo Villeveygoux
5b34d0dbe7
Prevent open FIFO prom leaking to subprocess
This fix previews window staying open after nnn exits, because they
inherited open FIFO (in write mode) from parent nnn process, and never
close it.
4 jaren geleden
Arun Prakash Jana
2ea3ce552a
Shorten column width
4 jaren geleden
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 jaren geleden
Arun Prakash Jana
c360f5c908
which prints to screen
4 jaren geleden
Arun Prakash Jana
33c4b1e7a2
Update docs
4 jaren geleden
Arun Prakash Jana
97df7df297
Minor previewer plugin update, docs update
4 jaren geleden
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 jaren geleden
Arun Prakash Jana
4c18f22587
Fix double free when starting in list mode
4 jaren geleden
Arun Prakash Jana
a563c1a553
Update docs
4 jaren geleden
0xACE
65da1c1941
Double click only works on same item ( #555 )
This patch disables accidental triggering of double clicking when you
are just single clicking on multiple objects fast.
4 jaren geleden
0xACE
c9f0e279af
SEL_FIRST now displays the correct message ( #556 )
A bit scary when you get prompted to remove a file but you wanted to
select a file.
I also made sure all strings are correctly ordered.
4 jaren geleden
Arun Prakash Jana
6ee257920d
Fix context range check
4 jaren geleden
Arun Prakash Jana
a950510342
Update docs
4 jaren geleden
Arun Prakash Jana
69e132e36d
Update docs
4 jaren geleden
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 jaren geleden
Arun Prakash Jana
b5de18c28f
Use const type
4 jaren geleden
Arun Prakash Jana
625c8d11f4
Refactor move_cursor()
4 jaren geleden
Arun Prakash Jana
f2fd923573
Fix #550
4 jaren geleden
Arun Prakash Jana
ffc0790fba
Add is_prefix(), block empty files completely
4 jaren geleden
Arun Prakash Jana
92f8fe14f2
Bind getplugs to installed version
4 jaren geleden
Arun Prakash Jana
af71d470f5
Plugin finder: run custom find/fd/grep/rg/fzf and list
4 jaren geleden
Arun Prakash Jana
ebb6f153b5
Context code '+' to create context smartly
4 jaren geleden
Arun Prakash Jana
3f60a1931f
Decouple listpath and initpath
4 jaren geleden
Arun Prakash Jana
8b764a5f7c
Show messages appropriately
4 jaren geleden
Arun Prakash Jana
eee5057da5
Plugin mimelist: support reading file list from (cmd as) plugin
4 jaren geleden
Danh Doan
e8e87f6ba2
browse: fix nnn -e ( #549 )
The current code will start editor if the mime doesn't start with
"text/". But, we want the opposite.
Simplify the check by using `strncmp` instead.
We may improve by writing a helper: `start_withs` in the future.
This change also cleans -Wstrict-aliasing on Ubuntu 16.04 LTS
4 jaren geleden
Arun Prakash Jana
ff568ea748
Simplify unescape() in no locale mode
4 jaren geleden
Arun Prakash Jana
f5c6f4f90b
Dim file details in detail mode
4 jaren geleden
Rami3L
45a69f1cbf
Fix: BSD expr syntax error on empty $NNNLVL ( #546 )
4 jaren geleden
Arun Prakash Jana
cb202e128b
Update docs
4 jaren geleden
Arun Prakash Jana
d7a53fd518
Update docs
4 jaren geleden
lvgx
e68d0db949
Install logo to desktop icons ( #542 )
This shows the "n³" logo as icon in application menus, when desktop file is
installed (using `install-desktop` make target).
4 jaren geleden
lvgx
1a78ad4aff
Add a logo for nnn (n³) ( #544 )
"n³" on a black knight chess piece/black horse head.
4 jaren geleden
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 jaren geleden
Arun Prakash Jana
73e3f2bca0
Move installation section to Wiki
4 jaren geleden
Arun Prakash Jana
283a29c48f
Update autogen packages
4 jaren geleden
Arun Prakash Jana
3ba456c150
New logo: n³
4 jaren geleden
Arun Prakash Jana
da91228bba
Randomize mocp
4 jaren geleden
Arun Prakash Jana
f1a9446b99
Use mem* function
4 jaren geleden
Arun Prakash Jana
187750556c
Let mocp shuffle
4 jaren geleden
Arun Prakash Jana
35fb89b972
Randomize mocp playlist
4 jaren geleden
Arun Prakash Jana
eec0e6d18e
Various plugin improvements
4 jaren geleden
KlzXS
babf379a74
Optimize dups ( #539 )
4 jaren geleden
Arun Prakash Jana
e7147c1f39
Show error at source
4 jaren geleden
Arun Prakash Jana
33fdbc2216
Fix #537
4 jaren geleden
Arun Prakash Jana
6689870460
Fix buffer cleanup
4 jaren geleden
Arun Prakash Jana
01392d48ad
Fix buffer cleanup
4 jaren geleden
Arun Prakash Jana
99d21531b4
Use memrchr if available
4 jaren geleden