Commit graph

2225 commits

Author SHA1 Message Date
Arun Prakash Jana c4483a8956
Update docs on -E 2019-11-24 19:23:09 +05:30
Arun Prakash Jana 5d0af863b5
Set hovered and file as 2019-11-24 02:13:27 +05:30
Arun Prakash Jana ca7405311f
Force undetachable edits in EDITOR 2019-11-24 01:54:06 +05:30
Arun Prakash Jana 9b37c9edb1
Load dir after hovered image 2019-11-23 10:37:46 +05:30
Arun Prakash Jana c70aaf2076
Update docs 2019-11-23 10:32:08 +05:30
Arun Prakash Jana c2998a819b Revert "Indicative inode hash bitmap implementation. Read details."
This reverts commit 547d87bfc2.
2019-11-23 10:07:05 +05:30
Arun Prakash Jana 547d87bfc2
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.
2019-11-23 10:05:06 +05:30
Arun Prakash Jana b63c00c9af
Quote so files with newline in name work 2019-11-22 23:43:43 +05:30
Arun Prakash Jana 2c35beb0a2
Rename utility macros 2019-11-22 20:46:05 +05:30
Arun Prakash Jana ababa87434
Organize strings together 2019-11-22 20:30:13 +05:30
Arun Prakash Jana 594d645e25
Rename plugins, group related ones 2019-11-22 17:51:13 +05:30
Arun Prakash Jana 085bda0330
Integrate similar plugins, diff should begin at start of file 2019-11-22 13:50:00 +05:30
Arun Prakash Jana a34200a747
Integrate shellcheck in CI 2019-11-22 11:59:14 +05:30
Arun Prakash Jana 1cca9e4b72
shellcheck fixes 2019-11-22 11:13:34 +05:30
Arun Prakash Jana ee2dcb1de7
Re-order plugin table 2019-11-21 22:14:25 +05:30
Arun Prakash Jana 2d23d8fe51
Drop findutils deps 2019-11-21 20:30:38 +05:30
Arun Prakash Jana d4b7897b41
All binary confirmation is now y or Y 2019-11-21 19:11:56 +05:30
KlzXS 4db8a61dea Don't use xargs options -I -o and -a (#388)
Also removed another stray cat
2019-11-21 18:19:55 +05:30
Arun Prakash Jana cb3ee616c2
update man page 2019-11-21 02:38:34 +05:30
Arun Prakash Jana be65fe4ccf
Add examples of conflicting keybinds 2019-11-21 02:23:02 +05:30
Arun Prakash Jana 7d70a655e6
Fix picker mode 2019-11-21 00:56:55 +05:30
Arun Prakash Jana 2d91768d88
Fix some cat abuses in code, plugins 2019-11-21 00:31:39 +05:30
Arun Prakash Jana 0c0f12b528
Use single API to create dir tree 2019-11-20 23:23:44 +05:30
Arun Prakash Jana f0ca47afae
dirs and files can be created with parent dirs 2019-11-20 21:11:13 +05:30
Arun Prakash Jana 5b7448bac9
Various plugin fixes
1. getplugs should work even if nnn is not run
2. Remove redundant ./ prefix
3. Update plugin docs
2019-11-20 19:19:09 +05:30
Arun Prakash Jana cc3702b2e1
Fix lint error 2019-11-20 01:34:07 +05:30
Arun Prakash Jana 3a9def25d8
Create new files and dirs with parent (like mkdir -p) 2019-11-20 01:28:11 +05:30
Arun Prakash Jana 9729b1f5a6
Refresh dirs on disruptive chnages, update sxiv plugin to browse and rename 2019-11-19 21:01:59 +05:30
Arun Prakash Jana 97e16364bb
Readahead is not available on all platforms 2019-11-18 22:04:09 +05:30
Arun Prakash Jana 6d3f3ba6a2
Show [selmode:num_selected] in status bar 2019-11-18 21:46:38 +05:30
Arun Prakash Jana 084a4c77c5
Add key ] to show prompt 2019-11-18 20:21:00 +05:30
Arun Prakash Jana 8705cb99a3
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
2019-11-18 19:54:14 +05:30
Arun Prakash Jana 0ef9ec196e
Use boxes to show number of selected files. 2019-11-18 19:34:03 +05:30
Arun Prakash Jana 3004694cd4 Update man page on executing commands directly.
Remove extra static string.
2019-11-18 18:57:04 +05:30
Mischievous Meerkat 577d8d9bfc
Update ndiff 2019-11-18 12:11:35 +05:30
Mischievous Meerkat 11204d09d5
Update quitcd.csh 2019-11-18 12:10:50 +05:30
Arun Prakash Jana 52fad544fc
Always open vimdiff at start of file 2019-11-18 04:04:04 +05:30
Arun Prakash Jana 4ee9e2d129
Add key ; to execute plugin 2019-11-18 00:30:00 +05:30
Arun Prakash Jana f7fa1ffc8e Update plugin docs 2019-11-18 00:14:04 +05:30
Arun Prakash Jana 6bbf3ac9c4
Show output after running command 2019-11-17 21:56:05 +05:30
Arun Prakash Jana 472564fd7f
Do not update merged file, remove README.md 2019-11-17 21:02:43 +05:30
Arun Prakash Jana 4f787fd59e
Fix line count when editing selection 2019-11-17 20:26:01 +05:30
KlzXS 2cbd76abf6 getpulgs now asks before overwriting (#385)
* getpulgs now asks before overwriting

* Forgot a space
2019-11-17 19:52:36 +05:30
Arun Prakash Jana 0f5f04d087 Revert "Fix #384: support busybox xargs"
This reverts commit 407b690404.
2019-11-17 19:17:39 +05:30
Arun Prakash Jana 0620b1dfb5
Plugin fzhist 2019-11-17 19:14:30 +05:30
Arun Prakash Jana 407b690404
Fix #384: support busybox xargs 2019-11-17 17:45:22 +05:30
Arun Prakash Jana f4acfc7a4e
Block nesting of nnn instances 2019-11-17 14:33:30 +05:30
Arun Prakash Jana 7d0be597ad
Rename fzy-open to fzopen 2019-11-17 13:08:26 +05:30
Arun Prakash Jana 5b8b9eaa92
Add image of plugin gutenread in action 2019-11-17 10:17:38 +05:30
Arun Prakash Jana 6693bf8f13
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.
2019-11-17 10:05:23 +05:30