]> Sergey Matveev's repositories - nnn.git/log
nnn.git
3 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

3 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

3 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.

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

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

3 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

3 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

3 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.

3 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

3 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

3 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

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

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

3 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

3 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
3 years agoHandle plugin selection early
Arun Prakash Jana [Mon, 1 Nov 2021 07:24:47 +0000 (12:54 +0530)]
Handle plugin selection early

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

3 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

3 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

3 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

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

3 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>
3 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

3 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

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

3 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

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

3 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

3 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]"

3 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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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.

3 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

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

3 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

3 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

3 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

3 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.

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

3 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)

3 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

3 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

3 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>
3 years agoGet rid of clearinfoln()
Arun Prakash Jana [Sat, 16 Oct 2021 23:30:35 +0000 (05:00 +0530)]
Get rid of clearinfoln()

3 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

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

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

3 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)

3 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

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

3 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

3 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

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

3 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

3 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()

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

3 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

3 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

3 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

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

3 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

3 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.

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

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

3 years agoImprove docs in cd on quit scripts
Arun Prakash Jana [Wed, 29 Sep 2021 13:46:58 +0000 (19:16 +0530)]
Improve docs in cd on quit scripts

3 years agoRevert Haiku rdef
Arun Prakash Jana [Wed, 29 Sep 2021 10:52:01 +0000 (16:22 +0530)]
Revert Haiku rdef

3 years agoMerge pull request #1182 from luukvbaal/patches v4.3
Terminator X [Wed, 29 Sep 2021 10:13:43 +0000 (15:43 +0530)]
Merge pull request #1182 from luukvbaal/patches

Fix gitstatus and rebase patches

3 years agoFix gitstatus and rebase patches
Luuk van Baal [Wed, 29 Sep 2021 09:33:19 +0000 (11:33 +0200)]
Fix gitstatus and rebase patches

3 years agoPrepare for release v4.3 Martini
Arun Prakash Jana [Wed, 29 Sep 2021 09:07:45 +0000 (14:37 +0530)]
Prepare for release v4.3 Martini

3 years agoFix compilation warning
Arun Prakash Jana [Wed, 29 Sep 2021 08:58:16 +0000 (14:28 +0530)]
Fix compilation warning

3 years agoMerge pull request #1180 from MaxGyver83/master
Terminator X [Mon, 27 Sep 2021 00:08:12 +0000 (05:38 +0530)]
Merge pull request #1180 from MaxGyver83/master

autojump plugin: Support jethrokuan/z (port of z for fish)

3 years agoCombine assignment of $_Z_DATA, $Z_DATA or $HOME/.z
Max Schillinger [Sun, 26 Sep 2021 21:17:51 +0000 (23:17 +0200)]
Combine assignment of $_Z_DATA, $Z_DATA or $HOME/.z

Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
3 years agoautojump plugin: Support jethrokuan/z (port of z for fish)
Max Schillinger [Sun, 26 Sep 2021 19:54:01 +0000 (21:54 +0200)]
autojump plugin: Support jethrokuan/z (port of z for fish)

3 years agoFix broken GUI cmd run as plugin case
Arun Prakash Jana [Sat, 25 Sep 2021 18:24:12 +0000 (23:54 +0530)]
Fix broken GUI cmd run as plugin case

3 years agoMerge pull request #1177 from luukvbaal/preview-tui
Terminator X [Fri, 24 Sep 2021 12:24:41 +0000 (17:54 +0530)]
Merge pull request #1177 from luukvbaal/preview-tui

Preview without convert

3 years agoPreview without convert
Luuk van Baal [Fri, 24 Sep 2021 10:12:13 +0000 (12:12 +0200)]
Preview without convert

3 years agoMerge pull request #1174 from luukvbaal/restorepreview
Terminator X [Thu, 23 Sep 2021 07:42:15 +0000 (13:12 +0530)]
Merge pull request #1174 from luukvbaal/restorepreview

Improve restorepreview race conditions

3 years agoImprove restorepreview race conditions
Luuk van Baal [Wed, 22 Sep 2021 15:15:35 +0000 (17:15 +0200)]
Improve restorepreview race conditions

3 years agoMerge pull request #1173 from luukvbaal/previewpatch
Terminator X [Wed, 22 Sep 2021 03:38:32 +0000 (09:08 +0530)]
Merge pull request #1173 from luukvbaal/previewpatch

Add restorepreview patch

3 years agoAdd restorepreview patch
Luuk van Baal [Wed, 22 Sep 2021 02:13:57 +0000 (04:13 +0200)]
Add restorepreview patch

3 years agoRevert "Close previewer when opening file (#1171)"
Arun Prakash Jana [Wed, 22 Sep 2021 00:16:45 +0000 (05:46 +0530)]
Revert "Close previewer when opening file (#1171)"

This reverts commit 532532704e72156aff140a07f8d7768d596eec02.

3 years agoSupport for nerdfont sty,cls and bib(tex filetypes) (#1169)
CantoroMC [Tue, 21 Sep 2021 04:51:23 +0000 (06:51 +0200)]
Support for nerdfont sty,cls and bib(tex filetypes) (#1169)

I've extended the use of nerdfont icon for tex to other common tex extensions.
I don't know how to do the same for icons-in-terminal.
Additionally, since the list is growing I have alphabetize the list of common
icons, used in icons-nerdfont.h.

3 years agoClose previewer when opening file (#1171)
luukvbaal [Tue, 21 Sep 2021 04:44:25 +0000 (06:44 +0200)]
Close previewer when opening file (#1171)

3 years agoadd provided but unused ruby icon (#1167)
CantoroMC [Sun, 19 Sep 2021 04:43:07 +0000 (06:43 +0200)]
add provided but unused ruby icon (#1167)

3 years agoUpdate FUNDING.yml
Terminator X [Sun, 19 Sep 2021 01:22:13 +0000 (06:52 +0530)]
Update FUNDING.yml

3 years agoMore checks
Arun Prakash Jana [Thu, 9 Sep 2021 17:47:22 +0000 (23:17 +0530)]
More checks

3 years agoFix #1162: run commands as plugin through shell
Arun Prakash Jana [Thu, 9 Sep 2021 14:08:41 +0000 (19:38 +0530)]
Fix #1162: run commands as plugin through shell

3 years agoAdd early check
Arun Prakash Jana [Thu, 9 Sep 2021 12:35:24 +0000 (18:05 +0530)]
Add early check

3 years agoAdded theme support for bat in preview-tui plugin (#1141)
Jakob Beckmann [Thu, 9 Sep 2021 12:32:06 +0000 (14:32 +0200)]
Added theme support for bat in preview-tui plugin (#1141)

3 years agoReformat checks
Arun Prakash Jana [Thu, 9 Sep 2021 03:35:45 +0000 (09:05 +0530)]
Reformat checks

3 years agoDirectory-specific sort order
Arun Prakash Jana [Wed, 8 Sep 2021 13:44:05 +0000 (19:14 +0530)]
Directory-specific sort order

3 years agoThe shell interprets "$nnn" now
Arun Prakash Jana [Sun, 5 Sep 2021 12:49:30 +0000 (18:19 +0530)]
The shell interprets "$nnn" now