Arun Prakash Jana
d71379e5b6
Minor doc update
4 lat temu
Arun Prakash Jana
db3a46a197
Ignore -S when start dir is specified
4 lat temu
lvgx
fcab64263e
preview-tui: ensure 1st hovered file is previewed ( #561 )
4 lat temu
lvgx
11c9648774
getplugs: add "master" version support ( #560 )
Pass "master" as first argument to the script.
4 lat temu
Arun Prakash Jana
2a5f8433b8
Ignore false lint issue
4 lat temu
Arun Prakash Jana
900b37c56c
Mention tmux version required
4 lat temu
Arun Prakash Jana
ab9f560fa8
Fix no preview update when dir changed with same entry number hovered
4 lat temu
Arun Prakash Jana
ce06bf15d6
Fix broken dir read from pipe
4 lat temu
Arun Prakash Jana
4832fc5fe1
Drop fzy support
4 lat temu
Todd Yamakawa
c8ecf06c51
Add a bookmarks plugin that supports names ( #558 )
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
4 lat temu
Arun Prakash Jana
bf078c0a8a
Update docs
4 lat temu
Arun Prakash Jana
8568cd6770
Change requires to dependencies
4 lat temu
Arun Prakash Jana
cfbb8f2117
Uniform plugins
4 lat temu
lvgx
f438ddc28c
preview-tui: fix tmux behaviour, del refs to nuke ( #559 )
As reported by @toddyamakawa
4 lat temu
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 lat temu
Arun Prakash Jana
2ea3ce552a
Shorten column width
4 lat temu
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 lat temu
Arun Prakash Jana
c360f5c908
which prints to screen
4 lat temu
Arun Prakash Jana
33c4b1e7a2
Update docs
4 lat temu
Arun Prakash Jana
97df7df297
Minor previewer plugin update, docs update
4 lat temu
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 lat temu
Arun Prakash Jana
4c18f22587
Fix double free when starting in list mode
4 lat temu
Arun Prakash Jana
a563c1a553
Update docs
4 lat temu
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 lat temu
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 lat temu
Arun Prakash Jana
6ee257920d
Fix context range check
4 lat temu
Arun Prakash Jana
a950510342
Update docs
4 lat temu
Arun Prakash Jana
69e132e36d
Update docs
4 lat temu
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 lat temu
Arun Prakash Jana
b5de18c28f
Use const type
4 lat temu
Arun Prakash Jana
625c8d11f4
Refactor move_cursor()
4 lat temu
Arun Prakash Jana
f2fd923573
Fix #550
4 lat temu
Arun Prakash Jana
ffc0790fba
Add is_prefix(), block empty files completely
4 lat temu
Arun Prakash Jana
92f8fe14f2
Bind getplugs to installed version
4 lat temu
Arun Prakash Jana
af71d470f5
Plugin finder: run custom find/fd/grep/rg/fzf and list
4 lat temu
Arun Prakash Jana
ebb6f153b5
Context code '+' to create context smartly
4 lat temu
Arun Prakash Jana
3f60a1931f
Decouple listpath and initpath
4 lat temu
Arun Prakash Jana
8b764a5f7c
Show messages appropriately
4 lat temu
Arun Prakash Jana
eee5057da5
Plugin mimelist: support reading file list from (cmd as) plugin
4 lat temu
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 lat temu
Arun Prakash Jana
ff568ea748
Simplify unescape() in no locale mode
4 lat temu
Arun Prakash Jana
f5c6f4f90b
Dim file details in detail mode
4 lat temu
Rami3L
45a69f1cbf
Fix: BSD expr syntax error on empty $NNNLVL ( #546 )
4 lat temu
Arun Prakash Jana
cb202e128b
Update docs
4 lat temu
Arun Prakash Jana
d7a53fd518
Update docs
4 lat temu
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 lat temu
lvgx
1a78ad4aff
Add a logo for nnn (n³) ( #544 )
"n³" on a black knight chess piece/black horse head.
4 lat temu
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 lat temu
Arun Prakash Jana
73e3f2bca0
Move installation section to Wiki
4 lat temu
Arun Prakash Jana
283a29c48f
Update autogen packages
4 lat temu