]> Sergey Matveev's repositories - nnn.git/log
nnn.git
5 years agoUpdate docs on -E
Arun Prakash Jana [Sun, 24 Nov 2019 13:53:09 +0000 (19:23 +0530)]
Update docs on -E

5 years agoSet hovered and file as
Arun Prakash Jana [Sat, 23 Nov 2019 20:43:27 +0000 (02:13 +0530)]
Set hovered and file as

5 years agoForce undetachable edits in EDITOR
Arun Prakash Jana [Sat, 23 Nov 2019 20:24:06 +0000 (01:54 +0530)]
Force undetachable edits in EDITOR

5 years agoLoad dir after hovered image
Arun Prakash Jana [Sat, 23 Nov 2019 05:07:46 +0000 (10:37 +0530)]
Load dir after hovered image

5 years agoUpdate docs
Arun Prakash Jana [Sat, 23 Nov 2019 04:59:21 +0000 (10:29 +0530)]
Update docs

5 years agoRevert "Indicative inode hash bitmap implementation. Read details."
Arun Prakash Jana [Sat, 23 Nov 2019 04:37:05 +0000 (10:07 +0530)]
Revert "Indicative inode hash bitmap implementation. Read details."

This reverts commit 547d87bfc2caf276dd1bcb943677a0ca306c602d.

5 years agoIndicative inode hash bitmap implementation. Read details.
Arun Prakash Jana [Sat, 23 Nov 2019 04:16:24 +0000 (09:46 +0530)]
Indicative inode hash bitmap implementation. Read details.

Known issues:
- To optimize dentfill() on most architectures we don't fstatat() with
  AT_SYMLINK_NOFOLLOW to get the inode number of the symlink itself.
- The current hash size serves the purpose of one filesystem. To serve
  more and have unique bits, we have to add more bits to prefix dev ID
  to the inode.  Memory consumption will be significant.

This will be reverted in next commit.

5 years agoQuote so files with newline in name work
Arun Prakash Jana [Fri, 22 Nov 2019 15:47:55 +0000 (21:17 +0530)]
Quote so files with newline in name work

5 years agoRename utility macros
Arun Prakash Jana [Fri, 22 Nov 2019 15:16:05 +0000 (20:46 +0530)]
Rename utility macros

5 years agoOrganize strings together
Arun Prakash Jana [Fri, 22 Nov 2019 15:00:13 +0000 (20:30 +0530)]
Organize strings together

5 years agoRename plugins, group related ones
Arun Prakash Jana [Fri, 22 Nov 2019 12:21:13 +0000 (17:51 +0530)]
Rename plugins, group related ones

5 years agoIntegrate similar plugins, diff should begin at start of file
Arun Prakash Jana [Fri, 22 Nov 2019 06:58:55 +0000 (12:28 +0530)]
Integrate similar plugins, diff should begin at start of file

5 years agoIntegrate shellcheck in CI
Arun Prakash Jana [Fri, 22 Nov 2019 06:29:14 +0000 (11:59 +0530)]
Integrate shellcheck in CI

5 years agoshellcheck fixes
Arun Prakash Jana [Thu, 21 Nov 2019 20:44:25 +0000 (02:14 +0530)]
shellcheck fixes

5 years agoRe-order plugin table
Arun Prakash Jana [Thu, 21 Nov 2019 16:44:25 +0000 (22:14 +0530)]
Re-order plugin table

5 years agoDrop findutils deps
Arun Prakash Jana [Thu, 21 Nov 2019 15:00:38 +0000 (20:30 +0530)]
Drop findutils deps

5 years agoAll binary confirmation is now y or Y
Arun Prakash Jana [Thu, 21 Nov 2019 13:29:28 +0000 (18:59 +0530)]
All binary confirmation is now y or Y

5 years agoDon't use xargs options -I -o and -a (#388)
KlzXS [Thu, 21 Nov 2019 12:49:55 +0000 (13:49 +0100)]
Don't use xargs options -I -o and -a (#388)

Also removed another stray cat

5 years agoupdate man page
Arun Prakash Jana [Wed, 20 Nov 2019 21:08:34 +0000 (02:38 +0530)]
update man page

5 years agoAdd examples of conflicting keybinds
Arun Prakash Jana [Wed, 20 Nov 2019 20:53:02 +0000 (02:23 +0530)]
Add examples of conflicting keybinds

5 years agoFix picker mode
Arun Prakash Jana [Wed, 20 Nov 2019 19:26:55 +0000 (00:56 +0530)]
Fix picker mode

5 years agoFix some cat abuses in code, plugins
Arun Prakash Jana [Wed, 20 Nov 2019 19:01:39 +0000 (00:31 +0530)]
Fix some cat abuses in code, plugins

5 years agoUse single API to create dir tree
Arun Prakash Jana [Wed, 20 Nov 2019 17:53:44 +0000 (23:23 +0530)]
Use single API to create dir tree

5 years agodirs and files can be created with parent dirs
Arun Prakash Jana [Wed, 20 Nov 2019 15:41:13 +0000 (21:11 +0530)]
dirs and files can be created with parent dirs

5 years agoVarious plugin fixes
Arun Prakash Jana [Wed, 20 Nov 2019 13:17:26 +0000 (18:47 +0530)]
Various plugin fixes

1. getplugs should work even if nnn is not run
2. Remove redundant ./ prefix
3. Update plugin docs

5 years agoFix lint error
Arun Prakash Jana [Tue, 19 Nov 2019 20:04:07 +0000 (01:34 +0530)]
Fix lint error

5 years agoCreate new files and dirs with parent (like mkdir -p)
Arun Prakash Jana [Tue, 19 Nov 2019 19:58:11 +0000 (01:28 +0530)]
Create new files and dirs with parent (like mkdir -p)

5 years agoRefresh dirs on disruptive chnages, update sxiv plugin to browse and rename
Arun Prakash Jana [Tue, 19 Nov 2019 15:31:59 +0000 (21:01 +0530)]
Refresh dirs on disruptive chnages, update sxiv plugin to browse and rename

5 years agoReadahead is not available on all platforms
Arun Prakash Jana [Mon, 18 Nov 2019 16:34:09 +0000 (22:04 +0530)]
Readahead is not available on all platforms

5 years agoShow [selmode:num_selected] in status bar
Arun Prakash Jana [Mon, 18 Nov 2019 16:16:38 +0000 (21:46 +0530)]
Show [selmode:num_selected] in status bar

5 years agoAdd key ] to show prompt
Arun Prakash Jana [Mon, 18 Nov 2019 14:51:00 +0000 (20:21 +0530)]
Add key ] to show prompt

5 years agoSeek advantage of kernel readahead()
Arun Prakash Jana [Mon, 18 Nov 2019 14:24:14 +0000 (19:54 +0530)]
Seek advantage of kernel readahead()

References:
1. http://man7.org/linux/man-pages/man2/posix_fadvise.2.html
2. https://www.oreilly.com/library/view/linux-system-programming/9781449341527/ch04.html

5 years agoUse boxes to show number of selected files.
Arun Prakash Jana [Mon, 18 Nov 2019 14:04:03 +0000 (19:34 +0530)]
Use boxes to show number of selected files.

5 years agoUpdate man page on executing commands directly.
Arun Prakash Jana [Mon, 18 Nov 2019 13:20:08 +0000 (18:50 +0530)]
Update man page on executing commands directly.

Remove extra static string.

5 years agoUpdate ndiff
Mischievous Meerkat [Mon, 18 Nov 2019 06:41:35 +0000 (12:11 +0530)]
Update ndiff

5 years agoUpdate quitcd.csh
Mischievous Meerkat [Mon, 18 Nov 2019 06:40:50 +0000 (12:10 +0530)]
Update quitcd.csh

5 years agoAlways open vimdiff at start of file
Arun Prakash Jana [Sun, 17 Nov 2019 22:34:04 +0000 (04:04 +0530)]
Always open vimdiff at start of file

5 years agoAdd key ; to execute plugin
Arun Prakash Jana [Sun, 17 Nov 2019 19:00:00 +0000 (00:30 +0530)]
Add key ; to execute plugin

5 years agoUpdate plugin docs
Arun Prakash Jana [Sun, 17 Nov 2019 17:58:32 +0000 (23:28 +0530)]
Update plugin docs

5 years agoShow output after running command
Arun Prakash Jana [Sun, 17 Nov 2019 16:26:05 +0000 (21:56 +0530)]
Show output after running command

5 years agoDo not update merged file, remove README.md
Arun Prakash Jana [Sun, 17 Nov 2019 15:32:43 +0000 (21:02 +0530)]
Do not update merged file, remove README.md

5 years agoFix line count when editing selection
Arun Prakash Jana [Sun, 17 Nov 2019 14:50:21 +0000 (20:20 +0530)]
Fix line count when editing selection

5 years agogetpulgs now asks before overwriting (#385)
KlzXS [Sun, 17 Nov 2019 14:22:36 +0000 (15:22 +0100)]
getpulgs now asks before overwriting (#385)

* getpulgs now asks before overwriting

* Forgot a space

5 years agoRevert "Fix #384: support busybox xargs"
Arun Prakash Jana [Sun, 17 Nov 2019 13:47:39 +0000 (19:17 +0530)]
Revert "Fix #384: support busybox xargs"

This reverts commit 407b690404e60f3c66a8b7bb2b580b8d2e6e61f3.

5 years agoPlugin fzhist
Arun Prakash Jana [Sun, 17 Nov 2019 13:44:30 +0000 (19:14 +0530)]
Plugin fzhist

5 years agoFix #384: support busybox xargs
Arun Prakash Jana [Sun, 17 Nov 2019 12:15:22 +0000 (17:45 +0530)]
Fix #384: support busybox xargs

5 years agoBlock nesting of nnn instances
Arun Prakash Jana [Sun, 17 Nov 2019 09:03:30 +0000 (14:33 +0530)]
Block nesting of nnn instances

5 years agoRename fzy-open to fzopen
Arun Prakash Jana [Sun, 17 Nov 2019 07:38:26 +0000 (13:08 +0530)]
Rename fzy-open to fzopen

5 years agoAdd image of plugin gutenread in action
Arun Prakash Jana [Sun, 17 Nov 2019 04:47:38 +0000 (10:17 +0530)]
Add image of plugin gutenread in action

5 years agoFixes the following workflow:
Arun Prakash Jana [Sun, 17 Nov 2019 04:35:23 +0000 (10:05 +0530)]
Fixes the following workflow:
- press pick plugin key
- navigate away from the plugin directory (to ~, say)
- try to open any file, fails

When we are in run plugin mode, but detect we are in a different
context or a non-plugin directory, just cancel the runplgin mode
and continue as usual.

It also cleans up the plugin run function.

5 years agoClear prompt after running a command.
Arun Prakash Jana [Sun, 17 Nov 2019 00:06:39 +0000 (05:36 +0530)]
Clear prompt after running a command.

5 years agoUpdate help
Arun Prakash Jana [Sun, 17 Nov 2019 00:00:14 +0000 (05:30 +0530)]
Update help

5 years agoDo not reload for help, edit and page if in selection mode
Arun Prakash Jana [Sat, 16 Nov 2019 23:19:50 +0000 (04:49 +0530)]
Do not reload for help, edit and page if in selection mode

5 years agoChange the key to size sort to z
Arun Prakash Jana [Sat, 16 Nov 2019 22:41:27 +0000 (04:11 +0530)]
Change the key to size sort to z

5 years agoRedraw in non-filter mode after hovered file deletion
Arun Prakash Jana [Sat, 16 Nov 2019 16:16:15 +0000 (21:46 +0530)]
Redraw in non-filter mode after hovered file deletion

5 years agoEdit also flushes selection
Arun Prakash Jana [Sat, 16 Nov 2019 15:09:05 +0000 (20:39 +0530)]
Edit also flushes selection

5 years agoDo not check for events when selecting files
Arun Prakash Jana [Sat, 16 Nov 2019 14:40:03 +0000 (20:10 +0530)]
Do not check for events when selecting files

5 years agoUse small letters
Arun Prakash Jana [Sat, 16 Nov 2019 08:36:38 +0000 (14:06 +0530)]
Use small letters

5 years agoUpdate docs
Arun Prakash Jana [Sat, 16 Nov 2019 05:56:19 +0000 (11:26 +0530)]
Update docs

5 years agoPlugin treeview to show tree o/p with perms and size
Arun Prakash Jana [Sat, 16 Nov 2019 05:52:34 +0000 (11:22 +0530)]
Plugin treeview to show tree o/p with perms and size

5 years agoPlugin extoggle to toggle executable status
Arun Prakash Jana [Sat, 16 Nov 2019 05:06:39 +0000 (10:36 +0530)]
Plugin extoggle to toggle executable status

5 years agoSimplify running commands
Arun Prakash Jana [Sat, 16 Nov 2019 01:50:18 +0000 (07:20 +0530)]
Simplify running commands

5 years agoFix issue with running plugin when help screen is shown
Arun Prakash Jana [Fri, 15 Nov 2019 17:06:37 +0000 (22:36 +0530)]
Fix issue with running plugin when help screen is shown

5 years agoFix dragdrop not working in selection mode (#382)
0xACE [Fri, 15 Nov 2019 16:27:37 +0000 (16:27 +0000)]
Fix dragdrop not working in selection mode (#382)

xargs couldn't call function `dnd()` and I couldn't find a portable way
to do it, so I replaced it with a variable which I guess should work
fine.

5 years agoFix #381
Arun Prakash Jana [Fri, 15 Nov 2019 16:25:18 +0000 (21:55 +0530)]
Fix #381

5 years agoRefactor plugin handling
Arun Prakash Jana [Wed, 13 Nov 2019 21:25:05 +0000 (02:55 +0530)]
Refactor plugin handling

5 years agoAdd CentOS 8.0, Fedora 31
Arun Prakash Jana [Tue, 12 Nov 2019 14:00:56 +0000 (19:30 +0530)]
Add CentOS 8.0, Fedora 31

5 years agoUpdate docs
Arun Prakash Jana [Mon, 11 Nov 2019 21:31:53 +0000 (03:01 +0530)]
Update docs

5 years agoFix segfault
Arun Prakash Jana [Mon, 11 Nov 2019 16:13:56 +0000 (21:43 +0530)]
Fix segfault

5 years agoFix #379
Arun Prakash Jana [Fri, 8 Nov 2019 22:17:49 +0000 (03:47 +0530)]
Fix #379

5 years agoFix fzcd not working from other contexts
Arun Prakash Jana [Fri, 8 Nov 2019 21:22:44 +0000 (02:52 +0530)]
Fix fzcd not working from other contexts

5 years agoIncorporate PR #368
Arun Prakash Jana [Fri, 8 Nov 2019 13:45:53 +0000 (19:15 +0530)]
Incorporate PR #368

5 years agoUpdate docs
Arun Prakash Jana [Wed, 6 Nov 2019 10:56:49 +0000 (16:26 +0530)]
Update docs

5 years agoRemoval of current dir can be a pain without force
Arun Prakash Jana [Tue, 5 Nov 2019 16:35:49 +0000 (22:05 +0530)]
Removal of current dir can be a pain without force

5 years agoClear buffer for no locale compilation
Arun Prakash Jana [Tue, 5 Nov 2019 14:33:12 +0000 (20:03 +0530)]
Clear buffer for no locale compilation

5 years agoMake bulk delete more verbose
Arun Prakash Jana [Tue, 5 Nov 2019 14:22:07 +0000 (19:52 +0530)]
Make bulk delete more verbose

5 years agoAdd Wayland clipboard example
Arun Prakash Jana [Mon, 4 Nov 2019 21:15:03 +0000 (02:45 +0530)]
Add Wayland clipboard example

5 years agoFix dragdrop stderr causing issues (#374)
0xACE [Mon, 4 Nov 2019 02:42:00 +0000 (03:42 +0100)]
Fix dragdrop stderr causing issues (#374)

For w/e reason the output from `which` causes problems with nnn
rendering. This commit silences the problematic lines.

5 years agoFix #373
Arun Prakash Jana [Sat, 2 Nov 2019 16:20:26 +0000 (21:50 +0530)]
Fix #373

5 years agoUpdate docs
Arun Prakash Jana [Sat, 2 Nov 2019 15:16:50 +0000 (20:46 +0530)]
Update docs

5 years agoPrint improvements
Arun Prakash Jana [Sat, 2 Nov 2019 02:21:45 +0000 (07:51 +0530)]
Print improvements

5 years agoUpdate drag and drop plugin
Arun Prakash Jana [Sat, 2 Nov 2019 01:26:34 +0000 (06:56 +0530)]
Update drag and drop plugin

5 years agoMerged drag and drop scripts to 1 file (#372)
0xACE [Sat, 2 Nov 2019 01:24:14 +0000 (02:24 +0100)]
Merged drag and drop scripts to 1 file (#372)

5 years agoplugin pskill
Arun Prakash Jana [Fri, 1 Nov 2019 16:24:31 +0000 (21:54 +0530)]
plugin pskill

5 years agoFix bad getplugs script (#370) (#371)
Anna Arad [Fri, 1 Nov 2019 15:58:32 +0000 (17:58 +0200)]
Fix bad getplugs script (#370) (#371)

5 years agoUpdate version to 2.7
Arun Prakash Jana [Fri, 1 Nov 2019 14:08:41 +0000 (19:38 +0530)]
Update version to 2.7

5 years agoFix build break
Arun Prakash Jana [Fri, 1 Nov 2019 10:44:24 +0000 (16:14 +0530)]
Fix build break

5 years agoShow size of file in bytes in status bar in du mode
Arun Prakash Jana [Fri, 1 Nov 2019 09:58:13 +0000 (15:28 +0530)]
Show size of file in bytes in status bar in du mode

5 years agoPrint version in debug output
Arun Prakash Jana [Thu, 31 Oct 2019 21:04:06 +0000 (02:34 +0530)]
Print version in debug output

5 years agoFix #369: calculate checksum for directory tree
Arun Prakash Jana [Thu, 31 Oct 2019 20:58:25 +0000 (02:28 +0530)]
Fix #369: calculate checksum for directory tree

5 years agoUse macro for 512B sector size
Arun Prakash Jana [Wed, 30 Oct 2019 17:13:22 +0000 (22:43 +0530)]
Use macro for 512B sector size

5 years agoFix opening files from browser
Arun Prakash Jana [Wed, 30 Oct 2019 14:47:31 +0000 (20:17 +0530)]
Fix opening files from browser

5 years agoAdd complete audio conversion tip
Arun Prakash Jana [Fri, 25 Oct 2019 02:20:54 +0000 (07:50 +0530)]
Add complete audio conversion tip

5 years agoDo not pass path to commands
Arun Prakash Jana [Thu, 24 Oct 2019 13:24:33 +0000 (18:54 +0530)]
Do not pass path to commands

5 years agoUpdate docs
Arun Prakash Jana [Thu, 24 Oct 2019 07:18:12 +0000 (12:48 +0530)]
Update docs

5 years agoExtend plugin mechanism to arbitrary commands
Arun Prakash Jana [Thu, 24 Oct 2019 07:09:31 +0000 (12:39 +0530)]
Extend plugin mechanism to arbitrary commands

5 years agoMinor reformat
Arun Prakash Jana [Thu, 24 Oct 2019 06:23:34 +0000 (11:53 +0530)]
Minor reformat

5 years agoFix KEY_RESIZE loop
Arun Prakash Jana [Thu, 24 Oct 2019 03:17:45 +0000 (08:47 +0530)]
Fix KEY_RESIZE loop

5 years agoFix checkpatch warnings
Arun Prakash Jana [Thu, 24 Oct 2019 03:14:36 +0000 (08:44 +0530)]
Fix checkpatch warnings

5 years agoUpdate docs
Arun Prakash Jana [Thu, 24 Oct 2019 01:26:15 +0000 (06:56 +0530)]
Update docs