]> Sergey Matveev's repositories - nnn.git/log
nnn.git
2 years agoPrepare for release v4.4 Tequila v4.4
Arun Prakash Jana [Tue, 23 Nov 2021 13:03:45 +0000 (18:33 +0530)]
Prepare for release v4.4 Tequila

2 years agoMerge pull request #1241 from luukvbaal/master
Arun [Tue, 23 Nov 2021 12:47:13 +0000 (18:17 +0530)]
Merge pull request #1241 from luukvbaal/master

Guard open_with getreadline for picker

2 years agoGuard open_with getreadline with for picker
Luuk van Baal [Tue, 23 Nov 2021 12:11:42 +0000 (13:11 +0100)]
Guard open_with getreadline with for picker
fix luukvbaal/nnn.nvim#25

2 years agoMerge pull request #1240 from KlzXS/percent_j
Arun [Tue, 16 Nov 2021 17:08:32 +0000 (22:38 +0530)]
Merge pull request #1240 from KlzXS/percent_j

Enforce %J only at the end of command

2 years agoEnforce %J only at the end of command
KlzXS [Mon, 15 Nov 2021 23:44:44 +0000 (00:44 +0100)]
Enforce %J only at the end of command

Also removes double shell

2 years agoMerge pull request #1239 from tonijarjour/patch-1
Arun [Mon, 15 Nov 2021 13:36:54 +0000 (19:06 +0530)]
Merge pull request #1239 from tonijarjour/patch-1

n/sxiv play gifs automatically from tabbed

2 years agon/sxiv play gifs automatically from tabbed
Toni Jarjour [Mon, 15 Nov 2021 01:56:32 +0000 (20:56 -0500)]
n/sxiv play gifs automatically from tabbed

2 years agoMore frequent interrupt handling during du
Arun Prakash Jana [Sun, 14 Nov 2021 19:03:25 +0000 (00:33 +0530)]
More frequent interrupt handling during du

The check is done when traversing directories in preorder i.e before the files
inside are enumerated. Postorder traversal is unwinding, so mostly we are done
with the calculation and finishing off the thread.

2 years agoMerge pull request #1235 from luukvbaal/preview-tui
Arun [Fri, 12 Nov 2021 19:30:26 +0000 (01:00 +0530)]
Merge pull request #1235 from luukvbaal/preview-tui

Preview-tui pass pts device in env variable

2 years agoPreview-tui pass pts device in env variable
Luuk van Baal [Fri, 12 Nov 2021 12:57:27 +0000 (13:57 +0100)]
Preview-tui pass pts device in env variable

2 years agoMerge pull request #1234 from luukvbaal/preview-tui
Arun [Fri, 12 Nov 2021 02:29:10 +0000 (07:59 +0530)]
Merge pull request #1234 from luukvbaal/preview-tui

Preview-tui ensure pts device for tput in subshell

2 years agoPreview-tui ensure pts device for tput in subshell
Luuk van Baal [Thu, 11 Nov 2021 16:35:10 +0000 (17:35 +0100)]
Preview-tui ensure pts device for tput in subshell

2 years agoMerge pull request #1232 from KlzXS/nmv_list_env
Arun [Thu, 11 Nov 2021 00:36:37 +0000 (06:06 +0530)]
Merge pull request #1232 from KlzXS/nmv_list_env

Env variable should be not set, not set to 0

2 years agoMerge pull request #1231 from luukvbaal/preview-tui
Arun [Thu, 11 Nov 2021 00:35:35 +0000 (06:05 +0530)]
Merge pull request #1231 from luukvbaal/preview-tui

Preview-tui workaround for ncurses tput regression

2 years agoMerge pull request #1230 from N-R-K/nsxiv_support
Arun [Thu, 11 Nov 2021 00:30:23 +0000 (06:00 +0530)]
Merge pull request #1230 from N-R-K/nsxiv_support

add nsxiv support to nuke, preview-tabbed and imgview

2 years ago-n exists for a reason
KlzXS [Wed, 10 Nov 2021 20:56:51 +0000 (21:56 +0100)]
-n exists for a reason

2 years agoEnv variable should be not set, not set to 0
KlzXS [Wed, 10 Nov 2021 20:51:05 +0000 (21:51 +0100)]
Env variable should be not set, not set to 0

2 years agoPreview-tui workaround for ncurses tput regression
Luuk van Baal [Wed, 10 Nov 2021 18:22:41 +0000 (19:22 +0100)]
Preview-tui workaround for ncurses tput regression

2 years agoadd nsxiv support to nuke, preview-tabbed and imgview
NRK [Wed, 10 Nov 2021 16:42:27 +0000 (22:42 +0600)]
add nsxiv support to nuke, preview-tabbed and imgview

`nuke` and `preview-tabbed` works as expected. I would assume `imgview`
should work as expected as well since `nsxiv` (at the moment at least)
is a drop-in replacement for sxiv, but I haven't tested it.

Closes: https://github.com/jarun/nnn/issues/1229
2 years agoMerge pull request #1227 from luukvbaal/patches
Arun [Tue, 9 Nov 2021 15:35:01 +0000 (15:35 +0000)]
Merge pull request #1227 from luukvbaal/patches

Fix restorepreview patch conflict

2 years agoMerge pull request #1226 from luukvbaal/preview-tui
Arun [Tue, 9 Nov 2021 15:34:28 +0000 (15:34 +0000)]
Merge pull request #1226 from luukvbaal/preview-tui

Proper fix for preview-tui zombie-pane

2 years agoFix restorepreview patch conflict
Luuk van Baal [Tue, 9 Nov 2021 13:52:45 +0000 (14:52 +0100)]
Fix restorepreview patch conflict

2 years agoProper fix for preview-tui zombie-pane
Luuk van Baal [Tue, 9 Nov 2021 13:33:52 +0000 (14:33 +0100)]
Proper fix for preview-tui zombie-pane

2 years agoRevert "malloc() mem those persist through program runtime"
KlzXS [Mon, 8 Nov 2021 14:08:12 +0000 (15:08 +0100)]
Revert "malloc() mem those persist through program runtime"

This reverts commit b84ad2d552a81f4e4383e716cf0624e768839a7d.

2 years agoMerge pull request #1224 from KlzXS/nmv_list_current
Arun [Mon, 8 Nov 2021 13:34:39 +0000 (13:34 +0000)]
Merge pull request #1224 from KlzXS/nmv_list_current

Updated .nmv to support current when NNN_LIST

2 years agoMerge pull request #1223 from akrifari/fix-invisible-description
Arun [Mon, 8 Nov 2021 13:33:20 +0000 (13:33 +0000)]
Merge pull request #1223 from akrifari/fix-invisible-description

Fix invisible description

2 years agoUpdated .nmv to support current when NNN_LIST
KlzXS [Sun, 7 Nov 2021 21:08:43 +0000 (22:08 +0100)]
Updated .nmv to support current when NNN_LIST

NNN_LIST now should pass listroo

2 years agoFix invisible description
Krisan Alifari [Sun, 7 Nov 2021 06:00:06 +0000 (13:00 +0700)]
Fix invisible description

2 years agoMerge pull request #1220 from luukvbaal/patches
Arun [Sat, 6 Nov 2021 00:42:13 +0000 (06:12 +0530)]
Merge pull request #1220 from luukvbaal/patches

Add nerd icons to gitstatus patch

2 years agoAdd nerd icons to gitstatus patch
Luuk van Baal [Fri, 5 Nov 2021 16:01:56 +0000 (17:01 +0100)]
Add nerd icons to gitstatus patch

2 years agomalloc() mem those persist through program runtime
Arun Prakash Jana [Fri, 5 Nov 2021 02:20:48 +0000 (07:50 +0530)]
malloc() mem those persist through program runtime

At exit, the OS should reclaim all the memory, so no explicit free() required.

2 years agoUpdate ToDO list link
Arun Prakash Jana [Thu, 4 Nov 2021 15:20:32 +0000 (20:50 +0530)]
Update ToDO list link

2 years agoFix build break
Arun Prakash Jana [Wed, 3 Nov 2021 03:31:26 +0000 (09:01 +0530)]
Fix build break

2 years agoResolve symlinks one level for .nmv when in list mode
KlzXS [Tue, 2 Nov 2021 22:09:47 +0000 (23:09 +0100)]
Resolve symlinks one level for .nmv when in list mode

2 years agoMerge pull request #1217 from N-R-K/nuke
Terminator X [Tue, 2 Nov 2021 04:46:17 +0000 (10:16 +0530)]
Merge pull request #1217 from N-R-K/nuke

nuke: port sxiv-rifle performance improvement over

2 years agonuke: port sxiv-rifle performance improvement over
NRK [Tue, 2 Nov 2021 04:01:32 +0000 (10:01 +0600)]
nuke: port sxiv-rifle performance improvement over

this commit is mostly porting over some recent performance improvements
from `sxiv-rifle`: https://github.com/ranger/ranger/pull/2411

there's one "bug-fix" in this commit. currently a file named "afilejpeg"
would be matched due to the `-iregex` in listimages. this commit changes
that so only extensions would match, so for example "afile.jpeg" would
match but not "afilejpeg".

As for performance, there's a couple things this commit does:

* store the result of listimages into a tmp file instead of calling that
  function twice, this is probably the biggest performance improvement.
  especially when loading large directories.

* abspath now sets the var abs_target instead of calling printf. since
  abspath is only called from load_dir, we can go one step further and
  inline it. but i haven't done that since the function might be useful
  later on.

* avoid call to dirname and use parameter subsitution instead inside
  `listimages`

* use grep instead of `-iregex`, it's POSIX compliant and can be faster.

i've tested this out with sxiv and everything seems to be working as
expected.

2 years agoMerge pull request #1216 from CantoroMC/master
Terminator X [Mon, 1 Nov 2021 12:04:59 +0000 (17:34 +0530)]
Merge pull request #1216 from CantoroMC/master

[icons nerdfont] added gpg icon

2 years ago[icons nerdfont] added gpg icon
Marco Cantoro [Mon, 1 Nov 2021 10:39:33 +0000 (11:39 +0100)]
[icons nerdfont] added gpg icon

2 years agoMerge pull request #1215 from N-R-K/fzopen_fix
Terminator X [Mon, 1 Nov 2021 08:23:48 +0000 (13:53 +0530)]
Merge pull request #1215 from N-R-K/fzopen_fix

plugin: fzopen: print full path for picker mode

2 years agoquickfix
NRK [Mon, 1 Nov 2021 08:15:49 +0000 (14:15 +0600)]
quickfix

2 years agouse $PWD
NRK [Mon, 1 Nov 2021 08:13:21 +0000 (14:13 +0600)]
use $PWD

2 years agocheck if $entry is fullpath or not
NRK [Mon, 1 Nov 2021 08:05:18 +0000 (14:05 +0600)]
check if $entry is fullpath or not

2 years agoplugin: fzopen: print full path for picker mode
NRK [Mon, 1 Nov 2021 07:28:49 +0000 (13:28 +0600)]
plugin: fzopen: print full path for picker mode

Closes: https://github.com/mcchrish/nnn.vim/issues/133
2 years agoHandle plugin selection early
Arun Prakash Jana [Mon, 1 Nov 2021 07:24:47 +0000 (12:54 +0530)]
Handle plugin selection early

2 years agoMinor code refactor
Arun Prakash Jana [Sat, 30 Oct 2021 06:56:31 +0000 (12:26 +0530)]
Minor code refactor

2 years agoDo not reorder pre-ordered directory on refresh
Arun Prakash Jana [Sat, 30 Oct 2021 06:37:45 +0000 (12:07 +0530)]
Do not reorder pre-ordered directory on refresh

2 years agoPosition cursor in correct place for long names
Arun Prakash Jana [Fri, 29 Oct 2021 15:57:02 +0000 (21:27 +0530)]
Position cursor in correct place for long names

2 years agoFix #1213: scroll long strings in prompts
Arun Prakash Jana [Fri, 29 Oct 2021 14:07:31 +0000 (19:37 +0530)]
Fix #1213: scroll long strings in prompts

2 years agoUpdate docs
Arun Prakash Jana [Thu, 28 Oct 2021 23:53:14 +0000 (05:23 +0530)]
Update docs

2 years agopatch/docs: correct the git status build flag (#1212)
Avimitin [Thu, 28 Oct 2021 12:11:49 +0000 (20:11 +0800)]
patch/docs: correct the git status build flag (#1212)

The git status build flag is missing a letter 'T'.

Signed-off-by: Avimitin <avimitin@gmail.com>
2 years agoMerge pull request #1210 from alexDarcy/master
Terminator X [Thu, 28 Oct 2021 10:36:49 +0000 (16:06 +0530)]
Merge pull request #1210 from alexDarcy/master

FreeBSD: use gsed instead of sed

2 years agoBSDs and Solaris: use gsed instead of sed
Alexis Praga [Wed, 27 Oct 2021 09:47:05 +0000 (11:47 +0200)]
BSDs and Solaris: use gsed instead of sed

2 years agoUpdate comment
Arun Prakash Jana [Tue, 26 Oct 2021 22:25:02 +0000 (03:55 +0530)]
Update comment

2 years agoMerge pull request #1208 from luukvbaal/preview-tui
Terminator X [Sat, 23 Oct 2021 13:54:57 +0000 (19:24 +0530)]
Merge pull request #1208 from luukvbaal/preview-tui

Fix preview-tui without -a

2 years agoUpdate help
Arun Prakash Jana [Sat, 23 Oct 2021 13:48:12 +0000 (19:18 +0530)]
Update help

2 years agoFix preview-tui without -a
Luuk van Baal [Sat, 23 Oct 2021 13:50:29 +0000 (15:50 +0200)]
Fix preview-tui without -a

2 years agoDisable verbose xargs, change nativ eprompt to "nnn]"
Arun Prakash Jana [Fri, 22 Oct 2021 22:17:53 +0000 (03:47 +0530)]
Disable verbose xargs, change nativ eprompt to "nnn]"

2 years agoMerge pull request #1202 from KlzXS/cmd_selection
Terminator X [Fri, 22 Oct 2021 21:31:07 +0000 (03:01 +0530)]
Merge pull request #1202 from KlzXS/cmd_selection

Added %s and %S for using selection in shell

2 years agoFix off-by-one
KlzXS [Fri, 22 Oct 2021 19:06:26 +0000 (21:06 +0200)]
Fix off-by-one

2 years agoRevert searching for a leading space
KlzXS [Fri, 22 Oct 2021 18:27:12 +0000 (20:27 +0200)]
Revert searching for a leading space

%j and %J will be replaced by a file path. File paths should be quoted to ensure proper interpretation by the shell

2 years agoReplace %s and %S with %j and %J
KlzXS [Fri, 22 Oct 2021 17:58:50 +0000 (19:58 +0200)]
Replace %s and %S with %j and %J

Those two conversions aren't used by any printf and scanf functions so there will no longer be any erroneous rewrites

Style fixes

2 years agoMerge pull request #1207 from luukvbaal/master
Terminator X [Fri, 22 Oct 2021 16:34:49 +0000 (22:04 +0530)]
Merge pull request #1207 from luukvbaal/master

Clear selection for send_to_explorer

2 years agoClear selection for send_to_explorer
Luuk van Baal [Fri, 22 Oct 2021 16:26:45 +0000 (18:26 +0200)]
Clear selection for send_to_explorer

2 years agoRemove option -w: always place HW cursor on current entry
Arun Prakash Jana [Fri, 22 Oct 2021 01:12:42 +0000 (06:42 +0530)]
Remove option -w: always place HW cursor on current entry

2 years agoRevert "fix: no mouse support inside vim terminal"
Arun Prakash Jana [Thu, 21 Oct 2021 19:00:11 +0000 (00:30 +0530)]
Revert "fix: no mouse support inside vim terminal"

This reverts commit dd7c13dd77cd8e63cd776dc703e23399b64afd32.

Single/double mouse click breaks on xfce4-terminal and xterm on Ubuntu 20.04

2 years agoSelection and mouse support for explorer/picker
Luuk van Baal [Thu, 21 Oct 2021 18:09:21 +0000 (20:09 +0200)]
Selection and mouse support for explorer/picker

2 years agoMerge pull request #1204 from N-R-K/mouse_ev
Terminator X [Thu, 21 Oct 2021 12:53:57 +0000 (18:23 +0530)]
Merge pull request #1204 from N-R-K/mouse_ev

fix: no mouse support inside vim terminal

2 years agofix: no mouse support inside vim terminal
NRK [Thu, 21 Oct 2021 11:28:13 +0000 (17:28 +0600)]
fix: no mouse support inside vim terminal

we need to signal mouse event by printing these escape codes. the X10
escape code seems to be legacy format only used as fallback incase SGR
extended coordinates aren't supported.

2 years agoMerge pull request #1203 from luukvbaal/patches
Terminator X [Thu, 21 Oct 2021 11:41:14 +0000 (17:11 +0530)]
Merge pull request #1203 from luukvbaal/patches

Resolve gitstatus patch conflict

2 years agoResolve gitstatus patch conflict
Luuk van Baal [Thu, 21 Oct 2021 11:39:09 +0000 (13:39 +0200)]
Resolve gitstatus patch conflict

2 years agoAdded %s and %S for using selection in shell
KlzXS [Wed, 20 Oct 2021 17:28:15 +0000 (19:28 +0200)]
Added %s and %S for using selection in shell

2 years agoPrefer inline for single liner
Arun Prakash Jana [Wed, 20 Oct 2021 14:59:15 +0000 (20:29 +0530)]
Prefer inline for single liner

2 years agoPicker mode: don't pick on Enter if selection exists
Arun Prakash Jana [Tue, 19 Oct 2021 13:17:50 +0000 (18:47 +0530)]
Picker mode: don't pick on Enter if selection exists

2 years agoFix #1201: accept link name for single target
Arun Prakash Jana [Tue, 19 Oct 2021 10:05:57 +0000 (15:35 +0530)]
Fix #1201: accept link name for single target

When creating new sym/hard link, accept link name if
the current file is being linked or 1 file selected.

2 years agoUpdate docs
Arun Prakash Jana [Mon, 18 Oct 2021 19:14:33 +0000 (00:44 +0530)]
Update docs

2 years agoAdd example to copy image to clipboard (#1199)
Arun Prakash Jana [Sun, 17 Oct 2021 21:18:46 +0000 (02:48 +0530)]
Add example to copy image to clipboard (#1199)

2 years agoMerge pull request #1198 from stelgenhof/master
Terminator X [Sun, 17 Oct 2021 12:21:29 +0000 (17:51 +0530)]
Merge pull request #1198 from stelgenhof/master

Add 'font' mime-type registry check for preview-tui plugin

2 years agoAdd option -i to show file information on hover
Arun Prakash Jana [Sun, 17 Oct 2021 06:27:38 +0000 (11:57 +0530)]
Add option -i to show file information on hover

2 years agoAdded the media registry 'font' for mime types part of it.
Sacha Telgenhof [Sun, 17 Oct 2021 05:34:09 +0000 (14:34 +0900)]
Added the media registry 'font' for mime types part of it.

Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
2 years agoGet rid of clearinfoln()
Arun Prakash Jana [Sat, 16 Oct 2021 23:30:35 +0000 (05:00 +0530)]
Get rid of clearinfoln()

2 years agomake var O_FILEINFO to show file info on hover
Arun Prakash Jana [Sat, 16 Oct 2021 17:17:21 +0000 (22:47 +0530)]
make var O_FILEINFO to show file info on hover

2 years agoUpdate version
Arun Prakash Jana [Fri, 15 Oct 2021 07:15:58 +0000 (12:45 +0530)]
Update version

2 years agoUpdate docs
Arun Prakash Jana [Thu, 14 Oct 2021 21:30:33 +0000 (03:00 +0530)]
Update docs

2 years agoSupport OSX iterm2 in preview-tui by using split pane (#1196)
An Phung [Thu, 14 Oct 2021 20:07:11 +0000 (21:07 +0100)]
Support OSX iterm2 in preview-tui by using split pane (#1196)

2 years agoUpdate link to ToDo list
Arun Prakash Jana [Sun, 10 Oct 2021 06:15:49 +0000 (11:45 +0530)]
Update link to ToDo list

2 years agoFix build break
Arun Prakash Jana [Sat, 9 Oct 2021 13:56:34 +0000 (19:26 +0530)]
Fix build break

2 years agoMerge pull request #1191 from luukvbaal/patches
Terminator X [Sat, 9 Oct 2021 13:41:03 +0000 (19:11 +0530)]
Merge pull request #1191 from luukvbaal/patches

Fix gitstatus regression and restorepreview conflict

2 years agoMerge pull request #1192 from jarun/luukvbaal-readme
Terminator X [Sat, 9 Oct 2021 13:27:21 +0000 (18:57 +0530)]
Merge pull request #1192 from jarun/luukvbaal-readme

Add nnn.nvim to README

2 years agoAdd nnn.nvim to README
luukvbaal [Sat, 9 Oct 2021 12:40:22 +0000 (14:40 +0200)]
Add nnn.nvim to README

2 years agoFix gitstatus regression/restore preview conflict
Luuk van Baal [Sat, 9 Oct 2021 00:36:22 +0000 (02:36 +0200)]
Fix gitstatus regression/restore preview conflict

2 years agoMerge pull request #1190 from luukvbaal/sessionfix
Terminator X [Thu, 7 Oct 2021 03:29:34 +0000 (08:59 +0530)]
Merge pull request #1190 from luukvbaal/sessionfix

Save session after browse()

2 years agoSave session after browse()
Luuk van Baal [Thu, 7 Oct 2021 00:57:55 +0000 (02:57 +0200)]
Save session after browse()

2 years agoMerge pull request #1186 from KlzXS/recursive_batch_rename
Terminator X [Mon, 4 Oct 2021 15:02:14 +0000 (20:32 +0530)]
Merge pull request #1186 from KlzXS/recursive_batch_rename

Added recursive capabilities to .nmv

2 years agoMerge pull request #1189 from luukvbaal/preview-tui
Terminator X [Mon, 4 Oct 2021 15:00:49 +0000 (20:30 +0530)]
Merge pull request #1189 from luukvbaal/preview-tui

Remove preview-tui winch tmux workaround

2 years agoChange preview-tui winch workaround
Luuk van Baal [Sun, 3 Oct 2021 22:12:48 +0000 (00:12 +0200)]
Change preview-tui winch workaround

2 years agoAdded recursive capabilities to .nmv
KlzXS [Sun, 3 Oct 2021 09:42:02 +0000 (11:42 +0200)]
Added recursive capabilities to .nmv

2 years agoMerge pull request #1183 from N-R-K/disable_e
Terminator X [Thu, 30 Sep 2021 14:20:40 +0000 (19:50 +0530)]
Merge pull request #1183 from N-R-K/disable_e

Disable e on picker mode

2 years agoDisable e on picker mode
NRK [Thu, 12 Aug 2021 05:17:48 +0000 (11:17 +0600)]
Disable e on picker mode

Mainly so that pressing 'e' due to muscle memory on nnn.vim doesn't nest
a new editor instance inside the embedded vim terminal.

However invoking nnn with picker mode implies that the intention is to
pick file(s), there shouldn't be any business trying to edit things on
the fly. And if editing a file while in picker mode is desirable, then
'l' can be used for that instead.

2 years agoUpdate docs
Arun Prakash Jana [Thu, 30 Sep 2021 01:56:40 +0000 (07:26 +0530)]
Update docs

2 years agoUpdate docs
Arun Prakash Jana [Wed, 29 Sep 2021 21:47:02 +0000 (03:17 +0530)]
Update docs