]> Sergey Matveev's repositories - nnn.git/log
nnn.git
2 years agoPrepare for release v4.1 Sake v4.1
Arun Prakash Jana [Wed, 2 Jun 2021 05:14:41 +0000 (10:44 +0530)]
Prepare for release v4.1 Sake

Sake - https://en.wikipedia.org/wiki/Sake

2 years agoAdd user patch framework (#1037)
luukvbaal [Wed, 2 Jun 2021 04:27:06 +0000 (06:27 +0200)]
Add user patch framework (#1037)

* Add user patch framework

* Add git status patch

* Add namefirst-gitstatus compatibility

* Add patch targets

* Fix gitstatus colors and patch order

2 years agoMerge pull request #1038 from luukvbaal/unicodearrows
Piña Colada [Mon, 31 May 2021 17:32:44 +0000 (23:02 +0530)]
Merge pull request #1038 from luukvbaal/unicodearrows

Unicode arrow indicators for O_ICONS/NERD

2 years agoUnicode arrows for O_ICONS/NERD
Luuk van Baal [Mon, 31 May 2021 16:41:05 +0000 (18:41 +0200)]
Unicode arrows for O_ICONS/NERD

2 years agoUpdate docs
Arun Prakash Jana [Mon, 31 May 2021 12:11:38 +0000 (17:41 +0530)]
Update docs

2 years agoMerge pull request #1036 from luukvbaal/preview-tui
Piña Colada [Mon, 31 May 2021 12:01:58 +0000 (17:31 +0530)]
Merge pull request #1036 from luukvbaal/preview-tui

Fix preview-tui jpeg mime

2 years agoFix preview-tui jpeg mime
Luuk van Baal [Mon, 31 May 2021 09:43:51 +0000 (11:43 +0200)]
Fix preview-tui jpeg mime

2 years agoFix #1034: do not auto-generate packages for SuSE
Arun Prakash Jana [Sun, 30 May 2021 23:21:19 +0000 (04:51 +0530)]
Fix #1034: do not auto-generate packages for SuSE

2 years agoMerge pull request #1035 from luukvbaal/manhome
Piña Colada [Sun, 30 May 2021 23:07:41 +0000 (04:37 +0530)]
Merge pull request #1035 from luukvbaal/manhome

Update man page

2 years agoUpdate man page
Luuk van Baal [Sun, 30 May 2021 23:04:07 +0000 (01:04 +0200)]
Update man page

2 years agoMerge pull request #1033 from luukvbaal/preview-tui
Piña Colada [Sun, 30 May 2021 22:18:32 +0000 (03:48 +0530)]
Merge pull request #1033 from luukvbaal/preview-tui

Preview-tui-ext to preview-tui

2 years agoPreview-tui-ext to preview-tui
Luuk van Baal [Sun, 30 May 2021 21:48:10 +0000 (23:48 +0200)]
Preview-tui-ext to preview-tui

2 years agoMerge pull request #1032 from luukvbaal/imgplugins
Piña Colada [Sun, 30 May 2021 19:42:34 +0000 (01:12 +0530)]
Merge pull request #1032 from luukvbaal/imgplugins

Add ucollage to imgview

2 years agoAdd ucollage to imgview
Luuk van Baal [Sun, 30 May 2021 19:33:48 +0000 (21:33 +0200)]
Add ucollage to imgview

2 years agoMerge pull request #1031 from luukvbaal/imgplugins
Piña Colada [Sun, 30 May 2021 19:24:57 +0000 (00:54 +0530)]
Merge pull request #1031 from luukvbaal/imgplugins

Merge image plugins

2 years agoMerge image plugins
Luuk van Baal [Sun, 30 May 2021 18:11:54 +0000 (20:11 +0200)]
Merge image plugins

2 years agoUpdate documentation
Arun Prakash Jana [Sun, 30 May 2021 17:59:10 +0000 (23:29 +0530)]
Update documentation

2 years agoClear the selection for uniform behaviour
Arun Prakash Jana [Sat, 29 May 2021 10:36:42 +0000 (16:06 +0530)]
Clear the selection for uniform behaviour

2 years agoGet rid of getchar()
Arun Prakash Jana [Sat, 29 May 2021 09:28:55 +0000 (14:58 +0530)]
Get rid of getchar()

2 years agoAlt+Esc to quit context from filter prompt
Arun Prakash Jana [Sat, 29 May 2021 07:45:05 +0000 (13:15 +0530)]
Alt+Esc to quit context from filter prompt

2 years agoRemove ntfw-specific code
Arun Prakash Jana [Sat, 29 May 2021 07:06:37 +0000 (12:36 +0530)]
Remove ntfw-specific code

2 years agoDecouple variable documentation section
Arun Prakash Jana [Sat, 29 May 2021 04:45:21 +0000 (10:15 +0530)]
Decouple variable documentation section

2 years agoFix condition
Arun Prakash Jana [Fri, 28 May 2021 22:10:00 +0000 (03:40 +0530)]
Fix condition

2 years agoRename plugin fzdirs to fzcd, retains fzcd features
Arun Prakash Jana [Fri, 28 May 2021 19:03:50 +0000 (00:33 +0530)]
Rename plugin fzdirs to fzcd, retains fzcd features

2 years agofzdirs - check if the first entry in path-list exists
Arun Prakash Jana [Fri, 28 May 2021 18:16:00 +0000 (23:46 +0530)]
fzdirs - check if the first entry in path-list exists

2 years agoRestore hovered file name on select and run plugin
Arun Prakash Jana [Fri, 28 May 2021 18:01:20 +0000 (23:31 +0530)]
Restore hovered file name on select and run plugin

2 years agofzdirs: support default list, default to $PWD
Arun Prakash Jana [Fri, 28 May 2021 17:54:06 +0000 (23:24 +0530)]
fzdirs: support default list, default to $PWD

2 years agoPlugin fzdirs: fuzzy search multiple directories
Arun Prakash Jana [Fri, 28 May 2021 13:34:14 +0000 (19:04 +0530)]
Plugin fzdirs: fuzzy search multiple directories

2 years agoShow number of files selected in local buffer, if any
Arun Prakash Jana [Thu, 27 May 2021 17:42:14 +0000 (23:12 +0530)]
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.

2 years agoplugin cleanfilename -> fixname, unmount-parent -> umounttree
Arun Prakash Jana [Thu, 27 May 2021 13:45:21 +0000 (19:15 +0530)]
plugin cleanfilename -> fixname, unmount-parent -> umounttree

2 years agoAttempt to create a new context with Shift-TAB, else reverse cycle
Arun Prakash Jana [Thu, 27 May 2021 12:40:46 +0000 (18:10 +0530)]
Attempt to create a new context with Shift-TAB, else reverse cycle

2 years agoMerge pull request #1028 from luukvbaal/makefile
Piña Colada [Wed, 26 May 2021 19:34:56 +0000 (01:04 +0530)]
Merge pull request #1028 from luukvbaal/makefile

Update haiku Makefile

2 years agoUpdate haiku Makefile
Luuk van Baal [Wed, 26 May 2021 18:54:00 +0000 (20:54 +0200)]
Update haiku Makefile

2 years agoUpdate musl compilation script
Arun Prakash Jana [Wed, 26 May 2021 18:18:22 +0000 (23:48 +0530)]
Update musl compilation script

2 years agoIgnore NOLC when ICONS/NERD are set (#1027)
luukvbaal [Wed, 26 May 2021 18:17:38 +0000 (20:17 +0200)]
Ignore NOLC when ICONS/NERD are set (#1027)

2 years agoMulti-threaded FTS-based disk usage calculation
Arun Prakash Jana [Wed, 26 May 2021 16:26:59 +0000 (21:56 +0530)]
Multi-threaded FTS-based disk usage calculation

Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().

FTS does not require any per entry function callback.
The performance numbers are best with FTS:

./nnn-fts -T d /  5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644 101132550144B

./nnn-ftw -T d /  5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653 101133148160B

./nnn-4.0 -T d /  0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654 101133299712B

2 years agoFix du calculation
Arun Prakash Jana [Tue, 25 May 2021 21:46:01 +0000 (03:16 +0530)]
Fix du calculation

2 years agoMake option O_NOLOC renamed to O_NOLC
Arun Prakash Jana [Mon, 24 May 2021 17:08:08 +0000 (22:38 +0530)]
Make option O_NOLOC renamed to O_NOLC

2 years agoDynamic view update in disk usage mode
Arun Prakash Jana [Sun, 23 May 2021 21:26:12 +0000 (02:56 +0530)]
Dynamic view update in disk usage mode

2 years agoFix spelling, remove Known Issues section in favour of Troubleshooting Wiki
Arun Prakash Jana [Sun, 23 May 2021 14:38:11 +0000 (20:08 +0530)]
Fix spelling, remove Known Issues section in favour of Troubleshooting Wiki

2 years agoMinor changes to nuke
Arun Prakash Jana [Sat, 22 May 2021 03:04:59 +0000 (08:34 +0530)]
Minor changes to nuke

2 years agoSuppress session open failure msg in picker mode
Arun Prakash Jana [Fri, 21 May 2021 02:35:44 +0000 (08:05 +0530)]
Suppress session open failure msg in picker mode

2 years agoFix #1023: support named persistent settions
Arun Prakash Jana [Thu, 20 May 2021 04:26:55 +0000 (09:56 +0530)]
Fix #1023: support named persistent settions

2 years agoUpdate ToDo list
Arun Prakash Jana [Wed, 19 May 2021 13:01:55 +0000 (18:31 +0530)]
Update ToDo list

2 years agoPreview-tui fix winch_handler
Luuk van Baal [Tue, 18 May 2021 09:20:56 +0000 (11:20 +0200)]
Preview-tui fix winch_handler

2 years agoRemove pickraw, fix selection not picked on Q
Arun Prakash Jana [Tue, 18 May 2021 02:55:23 +0000 (08:25 +0530)]
Remove pickraw, fix selection not picked on Q

2 years agoFix opener key for archive
Arun Prakash Jana [Tue, 18 May 2021 02:27:38 +0000 (07:57 +0530)]
Fix opener key for archive

2 years agoMerge pull request #1018 from luukvbaal/preview-tui
Piña Colada [Tue, 18 May 2021 01:11:33 +0000 (06:41 +0530)]
Merge pull request #1018 from luukvbaal/preview-tui

Preview-tui fixes

2 years agoPreview-tui fixes
Luuk van Baal [Mon, 17 May 2021 22:19:41 +0000 (00:19 +0200)]
Preview-tui fixes

3 years agoExit nnn if plugin picks files
Arun Prakash Jana [Mon, 17 May 2021 19:18:36 +0000 (00:48 +0530)]
Exit nnn if plugin picks files

3 years agoMerge pull request #1017 from luukvbaal/cmusq
Piña Colada [Mon, 17 May 2021 03:27:07 +0000 (08:57 +0530)]
Merge pull request #1017 from luukvbaal/cmusq

Exit cmusq when missing

3 years agoExit cmusq when missing
Luuk van Baal [Sun, 16 May 2021 21:39:10 +0000 (23:39 +0200)]
Exit cmusq when missing

3 years agoMerge pull request #1016 from luukvbaal/preview-tui
Piña Colada [Sun, 16 May 2021 20:58:40 +0000 (02:28 +0530)]
Merge pull request #1016 from luukvbaal/preview-tui

Hide terminated message in preview-tui

3 years agoHide terminated message in preview-tui
Luuk van Baal [Sun, 16 May 2021 20:56:47 +0000 (22:56 +0200)]
Hide terminated message in preview-tui

3 years agoFix nnn.vim #82: support picker plugins
Arun Prakash Jana [Sun, 16 May 2021 19:25:29 +0000 (00:55 +0530)]
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

3 years agoMerge pull request #1015 from luukvbaal/preview-tui
Piña Colada [Sun, 16 May 2021 11:17:40 +0000 (16:47 +0530)]
Merge pull request #1015 from luukvbaal/preview-tui

Fix preview-tui zombie pager

3 years agoFix preview-tui zombie pager
Luuk van Baal [Sun, 16 May 2021 11:02:12 +0000 (13:02 +0200)]
Fix preview-tui zombie pager

3 years agoMerge pull request #1013 from luukvbaal/preview-tui
Piña Colada [Sun, 16 May 2021 03:16:30 +0000 (08:46 +0530)]
Merge pull request #1013 from luukvbaal/preview-tui

Preview-tui cleanup

3 years agoPreview-tui cleanup
Luuk van Baal [Sun, 16 May 2021 00:11:05 +0000 (02:11 +0200)]
Preview-tui cleanup

3 years agoFix no file picked with NNN_TMPFILE set and quit with 'q'
Arun Prakash Jana [Sat, 15 May 2021 21:53:03 +0000 (03:23 +0530)]
Fix no file picked with NNN_TMPFILE set and quit with 'q'

If NNN_TMPFILE is exported, the selection buffer gets cleared as it is
combined with `^G` (clear picked files and exit). So even when 'q' is
pressed to quit the program the selection is lost. This was introduced
in commit d1d491c102f5da1bf6a2c8c21fa71530e74f90d3 after release v2.7.

3 years agoUpdate nuke to use mocq
Arun Prakash Jana [Sat, 15 May 2021 21:16:17 +0000 (02:46 +0530)]
Update nuke to use mocq

3 years agoMerge pull request #1011 from luukvbaal/cmusq
Piña Colada [Sat, 15 May 2021 20:32:28 +0000 (02:02 +0530)]
Merge pull request #1011 from luukvbaal/cmusq

Wait until cmus is ready and fix fzplug preview command

3 years agoWait until cmus is ready and fix fzplug preview command
Luuk van Baal [Sat, 15 May 2021 20:24:40 +0000 (22:24 +0200)]
Wait until cmus is ready and fix fzplug preview command

3 years agoMinor edits
Arun Prakash Jana [Sat, 15 May 2021 20:19:52 +0000 (01:49 +0530)]
Minor edits

3 years agoRename plugin mocplay to mocq
Arun Prakash Jana [Sat, 15 May 2021 18:55:47 +0000 (00:25 +0530)]
Rename plugin mocplay to mocq

3 years agoAdd plugin cmusq (#1010)
Kabouik [Sat, 15 May 2021 18:06:46 +0000 (18:06 +0000)]
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>
3 years agoSanitize in-plugin documentation
Arun Prakash Jana [Sat, 15 May 2021 17:32:01 +0000 (23:02 +0530)]
Sanitize in-plugin documentation

3 years agoChnage tabs to spaces
Arun Prakash Jana [Sat, 15 May 2021 01:27:20 +0000 (06:57 +0530)]
Chnage tabs to spaces

3 years agoIf/else to case in preview-tui (#1009)
luukvbaal [Fri, 14 May 2021 17:16:30 +0000 (19:16 +0200)]
If/else to case in preview-tui (#1009)

* If/else to case in preview-tui

* Fix conflict between #1004 #1006

3 years agoMore minimal bat previews, minor improvements to fzplug (#1004)
Kabouik [Fri, 14 May 2021 14:29:43 +0000 (14:29 +0000)]
More minimal bat previews, minor improvements to fzplug (#1004)

* More minimal bat previews, minor improvements to fzplug

* Use BAT_STYLE if set, better fzplug formatting

* Fix linebreak in single quotes

* Fix line numbers in comments

* Readability and shellcheck warning

* Fix line numbers in comments

* Breaking typo

* Pre-existing BAT_STYLE would not be honored in tmux

3 years agoRemove unnecessary redirection
Arun Prakash Jana [Fri, 14 May 2021 13:15:09 +0000 (18:45 +0530)]
Remove unnecessary redirection

3 years agoReplace which with builtin type in plugins
Arun Prakash Jana [Fri, 14 May 2021 12:03:28 +0000 (17:33 +0530)]
Replace which with builtin type in plugins

3 years agoOptimize loop comparison
Arun Prakash Jana [Fri, 14 May 2021 07:05:43 +0000 (12:35 +0530)]
Optimize loop comparison

3 years agoFix hovered marking on empty directory
Arun Prakash Jana [Fri, 14 May 2021 06:25:52 +0000 (11:55 +0530)]
Fix hovered marking on empty directory

3 years agoShow du/au details on enabling disk usage mode
Arun Prakash Jana [Fri, 14 May 2021 06:08:44 +0000 (11:38 +0530)]
Show du/au details on enabling disk usage mode

3 years agoReduce checks in per-entry print loop
Arun Prakash Jana [Fri, 14 May 2021 03:56:58 +0000 (09:26 +0530)]
Reduce checks in per-entry print loop

3 years agoshellcheck fixes + use the last known good commit
Arun Prakash Jana [Fri, 14 May 2021 03:17:15 +0000 (08:47 +0530)]
shellcheck fixes + use the last known good commit

3 years agoMerge pull request #1006 from luukvbaal/preview-tui
Piña Colada [Fri, 14 May 2021 02:22:54 +0000 (07:52 +0530)]
Merge pull request #1006 from luukvbaal/preview-tui

Kill kitty icat in preview-tui

3 years agoMerge pull request #1005 from luukvbaal/icons
Piña Colada [Fri, 14 May 2021 02:15:36 +0000 (07:45 +0530)]
Merge pull request #1005 from luukvbaal/icons

Fix .iconlookup typo

3 years agoKill kitty icat in preview-tui
Luuk van Baal [Fri, 14 May 2021 01:30:27 +0000 (03:30 +0200)]
Kill kitty icat in preview-tui

3 years agoFix .iconlookup typo
Luuk van Baal [Fri, 14 May 2021 00:08:45 +0000 (02:08 +0200)]
Fix .iconlookup typo

3 years agoAvoid faccessat(..., AT_SYM_NOFOLLOW) with musl libc
Arun Prakash Jana [Thu, 13 May 2021 20:41:59 +0000 (02:11 +0530)]
Avoid faccessat(..., AT_SYM_NOFOLLOW) with musl libc

See https://www.openwall.com/lists/musl/2014/09/25/1

3 years agoChange debug macro DBGMODE to DEBUG
Arun Prakash Jana [Thu, 13 May 2021 18:50:59 +0000 (00:20 +0530)]
Change debug macro DBGMODE to DEBUG

3 years agonetbsd-curses: fix broken statusbar issue
Arun Prakash Jana [Thu, 13 May 2021 18:46:48 +0000 (00:16 +0530)]
netbsd-curses: fix broken statusbar issue

See https://github.com/sabotage-linux/netbsd-curses/issues/46

3 years agoSelection marks in reverse bold
Arun Prakash Jana [Thu, 13 May 2021 13:59:16 +0000 (19:29 +0530)]
Selection marks in reverse bold

3 years agoAdd the xdgdefault plugin (#1003)
lawnowner [Thu, 13 May 2021 10:33:04 +0000 (13:33 +0300)]
Add the xdgdefault plugin (#1003)

3 years agoMerge pull request #1002 from luukvbaal/icons
Piña Colada [Thu, 13 May 2021 03:13:17 +0000 (08:43 +0530)]
Merge pull request #1002 from luukvbaal/icons

Add chess/haskell icons to .iconlookup

3 years agoAdd chess/haskell icons to .iconlookup
Luuk van Baal [Wed, 12 May 2021 23:20:27 +0000 (01:20 +0200)]
Add chess/haskell icons to .iconlookup

3 years agoRemove redundant param
Arun Prakash Jana [Wed, 12 May 2021 18:31:06 +0000 (00:01 +0530)]
Remove redundant param

3 years agoMake space for 512TiB in blocks
Arun Prakash Jana [Wed, 12 May 2021 17:49:22 +0000 (23:19 +0530)]
Make space for 512TiB in blocks

3 years agoInitialize variable, update musl script
Arun Prakash Jana [Wed, 12 May 2021 16:47:44 +0000 (22:17 +0530)]
Initialize variable, update musl script

3 years agoFix script
Arun Prakash Jana [Wed, 12 May 2021 15:46:18 +0000 (21:16 +0530)]
Fix script

3 years agoMerge pull request #1001 from CantoroMC/nerdfont
Piña Colada [Wed, 12 May 2021 14:30:39 +0000 (20:00 +0530)]
Merge pull request #1001 from CantoroMC/nerdfont

nerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp

3 years agoRemove redundant/unaccessed variable
Arun Prakash Jana [Wed, 12 May 2021 14:17:56 +0000 (19:47 +0530)]
Remove redundant/unaccessed variable

3 years agoMerge pull request #1000 from KlzXS/plguin_child
Piña Colada [Wed, 12 May 2021 14:01:38 +0000 (19:31 +0530)]
Merge pull request #1000 from KlzXS/plguin_child

Wait for child on plugin invocation

3 years agonerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp
Marco Cantoro [Wed, 12 May 2021 13:44:46 +0000 (15:44 +0200)]
nerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp

3 years agoWait for child on plugin invocation
KlzXS [Wed, 12 May 2021 06:50:24 +0000 (08:50 +0200)]
Wait for child on plugin invocation

3 years agoFix #998: remove ^Space keybind
Arun Prakash Jana [Wed, 12 May 2021 04:37:29 +0000 (10:07 +0530)]
Fix #998: remove ^Space keybind

netbsd-curses sends a NULL (key value 0) following the KEY_RESIZE.
The keybind ^Space also issues a 0. It seems even the key ^@ sends
the same. Dropping this ambiguous keybind in favour of alternative
key m (more appropriate for 'm'ark anyway). Keys with value 0 will
now be ignored in the filter function.

3 years agoFix template
Arun Prakash Jana [Tue, 11 May 2021 17:23:37 +0000 (22:53 +0530)]
Fix template

3 years agoCompilation script for netbsd-curses + musl libc
Arun Prakash Jana [Tue, 11 May 2021 13:36:13 +0000 (19:06 +0530)]
Compilation script for netbsd-curses + musl libc