]>
Sergey Matveev's repositories - nnn.git/log
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
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
Luuk van Baal [Mon, 31 May 2021 16:41:05 +0000 (18:41 +0200)]
Unicode arrows for O_ICONS/NERD
Arun Prakash Jana [Mon, 31 May 2021 12:11:38 +0000 (17:41 +0530)]
Update docs
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
Luuk van Baal [Mon, 31 May 2021 09:43:51 +0000 (11:43 +0200)]
Fix preview-tui jpeg mime
Arun Prakash Jana [Sun, 30 May 2021 23:21:19 +0000 (04:51 +0530)]
Fix #1034: do not auto-generate packages for SuSE
Piña Colada [Sun, 30 May 2021 23:07:41 +0000 (04:37 +0530)]
Merge pull request #1035 from luukvbaal/manhome
Update man page
Luuk van Baal [Sun, 30 May 2021 23:04:07 +0000 (01:04 +0200)]
Update man page
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
Luuk van Baal [Sun, 30 May 2021 21:48:10 +0000 (23:48 +0200)]
Preview-tui-ext to preview-tui
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
Luuk van Baal [Sun, 30 May 2021 19:33:48 +0000 (21:33 +0200)]
Add ucollage to imgview
Piña Colada [Sun, 30 May 2021 19:24:57 +0000 (00:54 +0530)]
Merge pull request #1031 from luukvbaal/imgplugins
Merge image plugins
Luuk van Baal [Sun, 30 May 2021 18:11:54 +0000 (20:11 +0200)]
Merge image plugins
Arun Prakash Jana [Sun, 30 May 2021 17:59:10 +0000 (23:29 +0530)]
Update documentation
Arun Prakash Jana [Sat, 29 May 2021 10:36:42 +0000 (16:06 +0530)]
Clear the selection for uniform behaviour
Arun Prakash Jana [Sat, 29 May 2021 09:28:55 +0000 (14:58 +0530)]
Get rid of getchar()
Arun Prakash Jana [Sat, 29 May 2021 07:45:05 +0000 (13:15 +0530)]
Alt+Esc to quit context from filter prompt
Arun Prakash Jana [Sat, 29 May 2021 07:06:37 +0000 (12:36 +0530)]
Remove ntfw-specific code
Arun Prakash Jana [Sat, 29 May 2021 04:45:21 +0000 (10:15 +0530)]
Decouple variable documentation section
Arun Prakash Jana [Fri, 28 May 2021 22:10:00 +0000 (03:40 +0530)]
Fix condition
Arun Prakash Jana [Fri, 28 May 2021 19:03:50 +0000 (00:33 +0530)]
Rename plugin fzdirs to fzcd, retains fzcd features
Arun Prakash Jana [Fri, 28 May 2021 18:16:00 +0000 (23:46 +0530)]
fzdirs - check if the first entry in path-list exists
Arun Prakash Jana [Fri, 28 May 2021 18:01:20 +0000 (23:31 +0530)]
Restore hovered file name on select and run plugin
Arun Prakash Jana [Fri, 28 May 2021 17:54:06 +0000 (23:24 +0530)]
fzdirs: support default list, default to $PWD
Arun Prakash Jana [Fri, 28 May 2021 13:34:14 +0000 (19:04 +0530)]
Plugin fzdirs: fuzzy search multiple directories
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.
Arun Prakash Jana [Thu, 27 May 2021 13:45:21 +0000 (19:15 +0530)]
plugin cleanfilename -> fixname, unmount-parent -> umounttree
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
Piña Colada [Wed, 26 May 2021 19:34:56 +0000 (01:04 +0530)]
Merge pull request #1028 from luukvbaal/makefile
Update haiku Makefile
Luuk van Baal [Wed, 26 May 2021 18:54:00 +0000 (20:54 +0200)]
Update haiku Makefile
Arun Prakash Jana [Wed, 26 May 2021 18:18:22 +0000 (23:48 +0530)]
Update musl compilation script
luukvbaal [Wed, 26 May 2021 18:17:38 +0000 (20:17 +0200)]
Ignore NOLC when ICONS/NERD are set (#1027)
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
Arun Prakash Jana [Tue, 25 May 2021 21:46:01 +0000 (03:16 +0530)]
Fix du calculation
Arun Prakash Jana [Mon, 24 May 2021 17:08:08 +0000 (22:38 +0530)]
Make option O_NOLOC renamed to O_NOLC
Arun Prakash Jana [Sun, 23 May 2021 21:26:12 +0000 (02:56 +0530)]
Dynamic view update in disk usage mode
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
Arun Prakash Jana [Sat, 22 May 2021 03:04:59 +0000 (08:34 +0530)]
Minor changes to nuke
Arun Prakash Jana [Fri, 21 May 2021 02:35:44 +0000 (08:05 +0530)]
Suppress session open failure msg in picker mode
Arun Prakash Jana [Thu, 20 May 2021 04:26:55 +0000 (09:56 +0530)]
Fix #1023: support named persistent settions
Arun Prakash Jana [Wed, 19 May 2021 13:01:55 +0000 (18:31 +0530)]
Update ToDo list
Luuk van Baal [Tue, 18 May 2021 09:20:56 +0000 (11:20 +0200)]
Preview-tui fix winch_handler
Arun Prakash Jana [Tue, 18 May 2021 02:55:23 +0000 (08:25 +0530)]
Remove pickraw, fix selection not picked on Q
Arun Prakash Jana [Tue, 18 May 2021 02:27:38 +0000 (07:57 +0530)]
Fix opener key for archive
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
Luuk van Baal [Mon, 17 May 2021 22:19:41 +0000 (00:19 +0200)]
Preview-tui fixes
Arun Prakash Jana [Mon, 17 May 2021 19:18:36 +0000 (00:48 +0530)]
Exit nnn if plugin picks files
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
Luuk van Baal [Sun, 16 May 2021 21:39:10 +0000 (23:39 +0200)]
Exit cmusq when missing
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
Luuk van Baal [Sun, 16 May 2021 20:56:47 +0000 (22:56 +0200)]
Hide terminated message in preview-tui
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
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
Luuk van Baal [Sun, 16 May 2021 11:02:12 +0000 (13:02 +0200)]
Fix preview-tui zombie pager
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
Luuk van Baal [Sun, 16 May 2021 00:11:05 +0000 (02:11 +0200)]
Preview-tui cleanup
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.
Arun Prakash Jana [Sat, 15 May 2021 21:16:17 +0000 (02:46 +0530)]
Update nuke to use mocq
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
Luuk van Baal [Sat, 15 May 2021 20:24:40 +0000 (22:24 +0200)]
Wait until cmus is ready and fix fzplug preview command
Arun Prakash Jana [Sat, 15 May 2021 20:19:52 +0000 (01:49 +0530)]
Minor edits
Arun Prakash Jana [Sat, 15 May 2021 18:55:47 +0000 (00:25 +0530)]
Rename plugin mocplay to mocq
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>
Arun Prakash Jana [Sat, 15 May 2021 17:32:01 +0000 (23:02 +0530)]
Sanitize in-plugin documentation
Arun Prakash Jana [Sat, 15 May 2021 01:27:20 +0000 (06:57 +0530)]
Chnage tabs to spaces
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
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
Arun Prakash Jana [Fri, 14 May 2021 13:15:09 +0000 (18:45 +0530)]
Remove unnecessary redirection
Arun Prakash Jana [Fri, 14 May 2021 12:03:28 +0000 (17:33 +0530)]
Replace which with builtin type in plugins
Arun Prakash Jana [Fri, 14 May 2021 07:05:43 +0000 (12:35 +0530)]
Optimize loop comparison
Arun Prakash Jana [Fri, 14 May 2021 06:25:52 +0000 (11:55 +0530)]
Fix hovered marking on empty directory
Arun Prakash Jana [Fri, 14 May 2021 06:08:44 +0000 (11:38 +0530)]
Show du/au details on enabling disk usage mode
Arun Prakash Jana [Fri, 14 May 2021 03:56:58 +0000 (09:26 +0530)]
Reduce checks in per-entry print loop
Arun Prakash Jana [Fri, 14 May 2021 03:17:15 +0000 (08:47 +0530)]
shellcheck fixes + use the last known good commit
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
Piña Colada [Fri, 14 May 2021 02:15:36 +0000 (07:45 +0530)]
Merge pull request #1005 from luukvbaal/icons
Fix .iconlookup typo
Luuk van Baal [Fri, 14 May 2021 01:30:27 +0000 (03:30 +0200)]
Kill kitty icat in preview-tui
Luuk van Baal [Fri, 14 May 2021 00:08:45 +0000 (02:08 +0200)]
Fix .iconlookup typo
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
Arun Prakash Jana [Thu, 13 May 2021 18:50:59 +0000 (00:20 +0530)]
Change debug macro DBGMODE to DEBUG
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
Arun Prakash Jana [Thu, 13 May 2021 13:59:16 +0000 (19:29 +0530)]
Selection marks in reverse bold
lawnowner [Thu, 13 May 2021 10:33:04 +0000 (13:33 +0300)]
Add the xdgdefault plugin (#1003)
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
Luuk van Baal [Wed, 12 May 2021 23:20:27 +0000 (01:20 +0200)]
Add chess/haskell icons to .iconlookup
Arun Prakash Jana [Wed, 12 May 2021 18:31:06 +0000 (00:01 +0530)]
Remove redundant param
Arun Prakash Jana [Wed, 12 May 2021 17:49:22 +0000 (23:19 +0530)]
Make space for 512TiB in blocks
Arun Prakash Jana [Wed, 12 May 2021 16:47:44 +0000 (22:17 +0530)]
Initialize variable, update musl script
Arun Prakash Jana [Wed, 12 May 2021 15:46:18 +0000 (21:16 +0530)]
Fix script
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
Arun Prakash Jana [Wed, 12 May 2021 14:17:56 +0000 (19:47 +0530)]
Remove redundant/unaccessed variable
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
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
KlzXS [Wed, 12 May 2021 06:50:24 +0000 (08:50 +0200)]
Wait for child on plugin invocation
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.
Arun Prakash Jana [Tue, 11 May 2021 17:23:37 +0000 (22:53 +0530)]
Fix template
Arun Prakash Jana [Tue, 11 May 2021 13:36:13 +0000 (19:06 +0530)]
Compilation script for netbsd-curses + musl libc
Arun Prakash Jana [Tue, 11 May 2021 10:53:06 +0000 (16:23 +0530)]
musl libc: fix run cmd prompt message