]> Sergey Matveev's repositories - nnn.git/log
nnn.git
5 years agoBookmark key get priority over session
Arun Prakash Jana [Fri, 24 Apr 2020 04:24:43 +0000 (09:54 +0530)]
Bookmark key get priority over session

5 years agoUpdate completion scripts
Arun Prakash Jana [Fri, 24 Apr 2020 04:06:33 +0000 (09:36 +0530)]
Update completion scripts

5 years agoAdd nbak plugin to backup all nnn config (#528)
lvgx [Thu, 23 Apr 2020 17:35:58 +0000 (19:35 +0200)]
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

5 years agoPlugin improvements (#531)
KlzXS [Mon, 20 Apr 2020 17:09:30 +0000 (19:09 +0200)]
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>
5 years agoAdd nvim as a diff tool for getplugs plugin (#527)
Krisan Alifari [Mon, 20 Apr 2020 16:49:35 +0000 (23:49 +0700)]
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

5 years agoDo a complete erase
Arun Prakash Jana [Sat, 18 Apr 2020 21:41:12 +0000 (03:11 +0530)]
Do a complete erase

5 years agoFix listing files directly under /
Arun Prakash Jana [Sat, 18 Apr 2020 09:38:23 +0000 (15:08 +0530)]
Fix listing files directly under /

5 years agoRemove hacky single path handling
Arun Prakash Jana [Sat, 18 Apr 2020 08:05:57 +0000 (13:35 +0530)]
Remove hacky single path handling

5 years agoFix #520: minimal erasure
Arun Prakash Jana [Sat, 18 Apr 2020 01:48:35 +0000 (07:18 +0530)]
Fix #520: minimal erasure

5 years agoUpdate issue template, add feature template
Arun Prakash Jana [Sat, 18 Apr 2020 01:28:19 +0000 (06:58 +0530)]
Update issue template, add feature template

5 years agoFix #526: persistent session
Arun Prakash Jana [Fri, 17 Apr 2020 23:24:07 +0000 (04:54 +0530)]
Fix #526: persistent session

5 years agoFix #523: handle NNN_PIPE (#525)
Todd Yamakawa [Fri, 17 Apr 2020 12:21:57 +0000 (07:21 -0500)]
Fix #523: handle NNN_PIPE (#525)

Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
5 years agoSave offset in key-val pairs
Arun Prakash Jana [Fri, 17 Apr 2020 08:13:25 +0000 (13:43 +0530)]
Save offset in key-val pairs

5 years agoFix #523: create NNN_PIPE early
Arun Prakash Jana [Fri, 17 Apr 2020 03:23:44 +0000 (08:53 +0530)]
Fix #523: create NNN_PIPE early

5 years agonuke: add lowdown as alternative markdown viewer (#524)
lvgx [Fri, 17 Apr 2020 02:41:08 +0000 (04:41 +0200)]
nuke: add lowdown as alternative markdown viewer (#524)

See https://kristaps.bsd.lv/lowdown/

5 years agoExperimental: guards to reduce repeat screen redraws
Arun Prakash Jana [Thu, 16 Apr 2020 12:15:58 +0000 (17:45 +0530)]
Experimental: guards to reduce repeat screen redraws

5 years agoGo to first file or next match
Arun Prakash Jana [Wed, 15 Apr 2020 22:12:36 +0000 (03:42 +0530)]
Go to first file or next match

5 years agoEnv var NNN_LOCKER
Arun Prakash Jana [Wed, 15 Apr 2020 18:59:45 +0000 (00:29 +0530)]
Env var NNN_LOCKER

5 years agoFix #520
Arun Prakash Jana [Wed, 15 Apr 2020 17:06:33 +0000 (22:36 +0530)]
Fix #520

5 years agoFix build break
Arun Prakash Jana [Wed, 15 Apr 2020 15:35:10 +0000 (21:05 +0530)]
Fix build break

5 years agoOne-pass key-val pair parsing for bms and plugs
Arun Prakash Jana [Wed, 15 Apr 2020 15:13:26 +0000 (20:43 +0530)]
One-pass key-val pair parsing for bms and plugs

5 years agoShow entry even if no permission
Arun Prakash Jana [Wed, 15 Apr 2020 12:22:21 +0000 (17:52 +0530)]
Show entry even if no permission

5 years agoOptimized xstrlen(), xstrdup()
Arun Prakash Jana [Wed, 15 Apr 2020 09:30:40 +0000 (15:00 +0530)]
Optimized xstrlen(), xstrdup()

5 years agoRefactor set_time_type()
Arun Prakash Jana [Tue, 14 Apr 2020 17:08:33 +0000 (22:38 +0530)]
Refactor set_time_type()

5 years agoCheck for file first (more in number)
Arun Prakash Jana [Tue, 14 Apr 2020 15:29:37 +0000 (20:59 +0530)]
Check for file first (more in number)

5 years agoMInor refactor
Arun Prakash Jana [Tue, 14 Apr 2020 04:24:42 +0000 (09:54 +0530)]
MInor refactor

5 years agoUpdate docs
Arun Prakash Jana [Mon, 13 Apr 2020 21:32:53 +0000 (03:02 +0530)]
Update docs

5 years agoUpdate docs
Arun Prakash Jana [Mon, 13 Apr 2020 19:55:54 +0000 (01:25 +0530)]
Update docs

5 years agoReduce the scope of loop variables
Arun Prakash Jana [Mon, 13 Apr 2020 17:51:15 +0000 (23:21 +0530)]
Reduce the scope of loop variables

5 years agoFix typo (#516)
Katrin Leinweber [Mon, 13 Apr 2020 17:09:32 +0000 (19:09 +0200)]
Fix typo (#516)

5 years agoMake NNN_COLORS override NO_COLORS (#515)
lvgx [Mon, 13 Apr 2020 16:51:56 +0000 (18:51 +0200)]
Make NNN_COLORS override NO_COLORS (#515)

5 years agoFix build break
Arun Prakash Jana [Mon, 13 Apr 2020 16:25:11 +0000 (21:55 +0530)]
Fix build break

5 years agoFix build break
Arun Prakash Jana [Mon, 13 Apr 2020 16:12:23 +0000 (21:42 +0530)]
Fix build break

5 years agoFix symlink to dir indicator in detail mode
Arun Prakash Jana [Mon, 13 Apr 2020 15:12:19 +0000 (20:42 +0530)]
Fix symlink to dir indicator in detail mode

5 years agoUse memccpy
Arun Prakash Jana [Mon, 13 Apr 2020 15:05:14 +0000 (20:35 +0530)]
Use memccpy

5 years agoHappy Birthday nnn! 🍰 v3.1
Arun Prakash Jana [Mon, 13 Apr 2020 03:02:32 +0000 (08:32 +0530)]
Happy Birthday nnn! 🍰

5 years agoSupport $FZF_DEFAULT_COMMAND on fzopen plugin (#514)
Krisan Alifari [Sun, 12 Apr 2020 13:36:59 +0000 (20:36 +0700)]
Support $FZF_DEFAULT_COMMAND on fzopen plugin (#514)

5 years agoChange nav-as-you-type to type-to-nav
Arun Prakash Jana [Sun, 12 Apr 2020 13:31:02 +0000 (19:01 +0530)]
Change nav-as-you-type to type-to-nav

5 years agoSimplified dirname()
Arun Prakash Jana [Sun, 12 Apr 2020 12:14:29 +0000 (17:44 +0530)]
Simplified dirname()

5 years agoSimplify finding valid parent
Arun Prakash Jana [Sun, 12 Apr 2020 11:42:14 +0000 (17:12 +0530)]
Simplify finding valid parent

5 years agoFix indent
Arun Prakash Jana [Sun, 12 Apr 2020 03:26:56 +0000 (08:56 +0530)]
Fix indent

5 years agoOpinionated xstrlcpy changes (#513)
Saagar Jha [Sun, 12 Apr 2020 00:35:14 +0000 (17:35 -0700)]
Opinionated xstrlcpy changes (#513)

* Unvectorize xstrlcpy

On all libcs I could find, memcpy does a better job than we can.

* Rename xstrlcpy to xstrsncpy to avoid confusion

The semantics of our xstrlcpy differed slightly from strlcpy; we return
the number of copied characters; strlcpy returns the strlen(src).
strscpy from Linux is similar except it returns the number of copied
characters sans the NUL byte, so this is named strsncpy to be different.

5 years agoMinor refactor
Arun Prakash Jana [Sat, 11 Apr 2020 17:46:59 +0000 (23:16 +0530)]
Minor refactor

5 years agoMinor refactor
Arun Prakash Jana [Sat, 11 Apr 2020 14:53:24 +0000 (20:23 +0530)]
Minor refactor

5 years agoUpdate docs
Arun Prakash Jana [Sat, 11 Apr 2020 05:46:21 +0000 (11:16 +0530)]
Update docs

5 years agoHover on dir and connect remote
Arun Prakash Jana [Fri, 10 Apr 2020 13:02:28 +0000 (18:32 +0530)]
Hover on dir and connect remote

5 years agoUpdate docs
Arun Prakash Jana [Fri, 10 Apr 2020 12:30:52 +0000 (18:00 +0530)]
Update docs

5 years agoMinor reformat
Arun Prakash Jana [Thu, 9 Apr 2020 13:43:42 +0000 (19:13 +0530)]
Minor reformat

5 years agoShow status bar info in context color
Arun Prakash Jana [Thu, 9 Apr 2020 11:22:36 +0000 (16:52 +0530)]
Show status bar info in context color

5 years agoUpdate docs
Arun Prakash Jana [Thu, 9 Apr 2020 04:18:04 +0000 (09:48 +0530)]
Update docs

5 years agox to extract archive
Arun Prakash Jana [Tue, 7 Apr 2020 15:48:24 +0000 (21:18 +0530)]
x to extract archive

5 years agoFix #511: chew ling strings at filter prompt
Arun Prakash Jana [Mon, 6 Apr 2020 16:07:36 +0000 (21:37 +0530)]
Fix #511: chew ling strings at filter prompt

5 years agoFix #511
Arun Prakash Jana [Mon, 6 Apr 2020 15:36:39 +0000 (21:06 +0530)]
Fix #511

5 years agoFix #510
Arun Prakash Jana [Mon, 6 Apr 2020 14:00:16 +0000 (19:30 +0530)]
Fix #510

5 years agoA nocolor msg print
Arun Prakash Jana [Sun, 5 Apr 2020 16:23:15 +0000 (21:53 +0530)]
A nocolor msg print

5 years agoRemove redundant calls
Arun Prakash Jana [Sun, 5 Apr 2020 16:15:30 +0000 (21:45 +0530)]
Remove redundant calls

5 years agoFix jump on canceled duplicate
Arun Prakash Jana [Sun, 5 Apr 2020 09:12:32 +0000 (14:42 +0530)]
Fix jump on canceled duplicate

5 years agoSupport only NO_COLOR, revert -C to disable color
Arun Prakash Jana [Sun, 5 Apr 2020 07:34:14 +0000 (13:04 +0530)]
Support only NO_COLOR, revert -C to disable color

5 years agoAdd suport for "standard" NO_COLOR env variable (#508)
lvgx [Sun, 5 Apr 2020 01:56:18 +0000 (03:56 +0200)]
Add suport for "standard" NO_COLOR env variable (#508)

See https://no-color.org

5 years agoFix screen not cleared with drag down on narrow terms
Arun Prakash Jana [Sun, 5 Apr 2020 01:07:26 +0000 (06:37 +0530)]
Fix screen not cleared with drag down on narrow terms

5 years agoWith dimming, @ is not required for symlink to dir
Arun Prakash Jana [Sun, 5 Apr 2020 01:00:28 +0000 (06:30 +0530)]
With dimming, @ is not required for symlink to dir

5 years agoOption -C to disable color
Arun Prakash Jana [Sun, 5 Apr 2020 00:23:46 +0000 (05:53 +0530)]
Option -C to disable color

5 years agoStatus bar in context color
Arun Prakash Jana [Sat, 4 Apr 2020 18:09:21 +0000 (23:39 +0530)]
Status bar in context color

5 years agoAdd script to generate files
Arun Prakash Jana [Sat, 4 Apr 2020 04:27:21 +0000 (09:57 +0530)]
Add script to generate files

5 years agoUpdate docs
Arun Prakash Jana [Fri, 3 Apr 2020 14:13:33 +0000 (19:43 +0530)]
Update docs

5 years ago(Sh)TAB should get a new context if required
Arun Prakash Jana [Thu, 2 Apr 2020 15:17:15 +0000 (20:47 +0530)]
(Sh)TAB should get a new context if required

5 years agoAdded support for fzy (#505)
Nick Waywood [Thu, 2 Apr 2020 05:24:24 +0000 (16:24 +1100)]
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)

5 years agoAdded fzfz plugin (#502)
Nick Waywood [Wed, 1 Apr 2020 12:35:52 +0000 (23:35 +1100)]
Added fzfz plugin (#502)

* Added fzfz plugin

* Fixed shellcheck errors

* Fixed copy/paste error

5 years agoFix #499: add fflush() as well
Arun Prakash Jana [Wed, 1 Apr 2020 09:46:21 +0000 (15:16 +0530)]
Fix #499: add fflush() as well

5 years agoFix clang-tidy warnings
Arun Prakash Jana [Tue, 31 Mar 2020 22:20:17 +0000 (03:50 +0530)]
Fix clang-tidy warnings

5 years agoRemove redundant param
Arun Prakash Jana [Tue, 31 Mar 2020 22:06:06 +0000 (03:36 +0530)]
Remove redundant param

5 years agoFix #499
Arun Prakash Jana [Tue, 31 Mar 2020 21:02:23 +0000 (02:32 +0530)]
Fix #499

5 years agoAdd .desktop file for XDG compatible DEs (#501)
lvgx [Tue, 31 Mar 2020 20:59:21 +0000 (22:59 +0200)]
Add .desktop file for XDG compatible DEs (#501)

Install with `make install-desktop`
It now appears in application menus, search, etc. in XDG compatible
desktop environments (like GNOME, KDE, ...).

5 years agoFix #499: broken readline prompt
Arun Prakash Jana [Tue, 31 Mar 2020 20:56:32 +0000 (02:26 +0530)]
Fix #499: broken readline prompt

5 years agoFix fzcd at /, minot refactor
Arun Prakash Jana [Tue, 31 Mar 2020 16:56:20 +0000 (22:26 +0530)]
Fix fzcd at /, minot refactor

5 years agoQuicker re-sort
Arun Prakash Jana [Mon, 30 Mar 2020 21:02:13 +0000 (02:32 +0530)]
Quicker re-sort

5 years agoUpdate docs
Arun Prakash Jana [Mon, 30 Mar 2020 20:29:30 +0000 (01:59 +0530)]
Update docs

5 years agomake var O_NOBATCH to compile out native batch renamer
Arun Prakash Jana [Mon, 30 Mar 2020 16:39:39 +0000 (22:09 +0530)]
make var O_NOBATCH to compile out native batch renamer

5 years agoAdd fortune to help
Arun Prakash Jana [Mon, 30 Mar 2020 03:39:11 +0000 (09:09 +0530)]
Add fortune to help

5 years agoList mode: limit exceeded error
Arun Prakash Jana [Sun, 29 Mar 2020 17:05:41 +0000 (22:35 +0530)]
List mode: limit exceeded error

5 years agoUse more sensible msg
Arun Prakash Jana [Sun, 29 Mar 2020 15:50:09 +0000 (21:20 +0530)]
Use more sensible msg

5 years agoFix build break
Arun Prakash Jana [Sun, 29 Mar 2020 15:02:11 +0000 (20:32 +0530)]
Fix build break

5 years agoFix crash
Arun Prakash Jana [Sun, 29 Mar 2020 14:56:31 +0000 (20:26 +0530)]
Fix crash

5 years agoReduce presel usage
Arun Prakash Jana [Sun, 29 Mar 2020 14:52:43 +0000 (20:22 +0530)]
Reduce presel usage

5 years agoRefactor change directory
Arun Prakash Jana [Sun, 29 Mar 2020 11:55:11 +0000 (17:25 +0530)]
Refactor change directory

5 years agoRemove redundant name copy
Arun Prakash Jana [Sun, 29 Mar 2020 10:18:10 +0000 (15:48 +0530)]
Remove redundant name copy

5 years agoNo re-filter on MSGWAIT
Arun Prakash Jana [Sun, 29 Mar 2020 08:06:07 +0000 (13:36 +0530)]
No re-filter on MSGWAIT

5 years agoDo not reload
Arun Prakash Jana [Sun, 29 Mar 2020 03:26:08 +0000 (08:56 +0530)]
Do not reload

5 years agoFix build error
Arun Prakash Jana [Sat, 28 Mar 2020 22:54:31 +0000 (04:24 +0530)]
Fix build error

5 years agoReload dir when entering filter mode
Arun Prakash Jana [Sat, 28 Mar 2020 22:34:57 +0000 (04:04 +0530)]
Reload dir when entering filter mode

5 years agoFix sorting
Arun Prakash Jana [Sat, 28 Mar 2020 21:01:48 +0000 (02:31 +0530)]
Fix sorting

5 years agoExperimental: retain filter in normal mode
Arun Prakash Jana [Sat, 28 Mar 2020 19:12:20 +0000 (00:42 +0530)]
Experimental: retain filter in normal mode

5 years agoRetain hovered file name in filtered view with delayed msg
Arun Prakash Jana [Sat, 28 Mar 2020 06:55:35 +0000 (12:25 +0530)]
Retain hovered file name in filtered view with delayed msg

5 years agoFix wrong lint report
Arun Prakash Jana [Sat, 28 Mar 2020 04:15:22 +0000 (09:45 +0530)]
Fix wrong lint report

5 years agoSupport time type (access/change/mod) change
Arun Prakash Jana [Sat, 28 Mar 2020 03:50:14 +0000 (09:20 +0530)]
Support time type (access/change/mod) change

5 years agoUpdate link
Arun Prakash Jana [Fri, 27 Mar 2020 15:19:44 +0000 (20:49 +0530)]
Update link

5 years agoStatics are always initalized to 0
Arun Prakash Jana [Fri, 27 Mar 2020 09:08:56 +0000 (14:38 +0530)]
Statics are always initalized to 0

5 years agoFix #498
Arun Prakash Jana [Fri, 27 Mar 2020 07:36:01 +0000 (13:06 +0530)]
Fix #498

5 years agoUse meaningful vars
Arun Prakash Jana [Wed, 25 Mar 2020 15:22:27 +0000 (20:52 +0530)]
Use meaningful vars

5 years agoUpdate docs
Arun Prakash Jana [Wed, 25 Mar 2020 06:17:30 +0000 (11:47 +0530)]
Update docs