Commit Graph

2112 Commits

Author SHA1 Message Date
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
Arun Prakash Jana 05c84f7b80
Clear prompt after running a command. 2019-11-17 05:36:39 +05:30
Arun Prakash Jana e3aed0f658
Update help 2019-11-17 05:30:14 +05:30
Arun Prakash Jana 61048258a7
Do not reload for help, edit and page if in selection mode 2019-11-17 04:49:50 +05:30
Arun Prakash Jana efa9a6727d
Change the key to size sort to z 2019-11-17 04:11:27 +05:30
Arun Prakash Jana 37bf6b1010
Redraw in non-filter mode after hovered file deletion 2019-11-16 21:46:15 +05:30
Arun Prakash Jana 88698b372b
Edit also flushes selection 2019-11-16 20:39:05 +05:30
Arun Prakash Jana 4c863d9b7b
Do not check for events when selecting files 2019-11-16 20:10:03 +05:30
Arun Prakash Jana c7b037d6a1
Use small letters 2019-11-16 14:06:38 +05:30
Arun Prakash Jana f8b8c67bee
Update docs 2019-11-16 11:43:38 +05:30
Arun Prakash Jana cf987fa988
Plugin treeview to show tree o/p with perms and size 2019-11-16 11:22:34 +05:30
Arun Prakash Jana e82f6d02cd
Plugin extoggle to toggle executable status 2019-11-16 10:36:39 +05:30
Arun Prakash Jana 2b4bd35ba6
Simplify running commands 2019-11-16 07:20:18 +05:30
Arun Prakash Jana f31fa09f56 Fix issue with running plugin when help screen is shown 2019-11-15 22:36:57 +05:30