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
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
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
Arun Prakash Jana
4ee9e2d129
Add key ; to execute plugin
2019-11-18 00:30:00 +05:30
Arun Prakash Jana
4f787fd59e
Fix line count when editing selection
2019-11-17 20:26:01 +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
407b690404
Fix #384 : support busybox xargs
2019-11-17 17:45:22 +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
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
Arun Prakash Jana
950a8f6a65
Fix #381
2019-11-15 21:55:18 +05:30
Arun Prakash Jana
3c28d1f1d7
Refactor plugin handling
2019-11-14 02:55:05 +05:30
Arun Prakash Jana
fa4c37f230
Fix segfault
2019-11-11 21:43:56 +05:30
Arun Prakash Jana
12f108cac9
Fix fzcd not working from other contexts
2019-11-09 02:52:44 +05:30
Arun Prakash Jana
53a2e4c560
Incorporate PR #368
2019-11-08 19:15:53 +05:30
Arun Prakash Jana
9272c90f93
Removal of current dir can be a pain without force
2019-11-05 22:05:49 +05:30
Arun Prakash Jana
8a7d2bd1ed
Clear buffer for no locale compilation
2019-11-05 20:03:12 +05:30
Arun Prakash Jana
94e4dc51ba
Make bulk delete more verbose
2019-11-05 19:52:07 +05:30
Arun Prakash Jana
6713bfba13
Fix #373
2019-11-02 21:50:26 +05:30
Arun Prakash Jana
169c2141f6
Print improvements
2019-11-02 07:51:45 +05:30
Arun Prakash Jana
5c336fb7da
Fix build break
2019-11-01 16:19:34 +05:30
Arun Prakash Jana
ef8db1fd45
Show size of file in bytes in status bar in du mode
2019-11-01 15:28:13 +05:30
Arun Prakash Jana
7416bb8503
Print version in debug output
2019-11-01 02:34:06 +05:30
Arun Prakash Jana
6eeab1af9f
Use macro for 512B sector size
2019-10-30 22:43:22 +05:30
Arun Prakash Jana
a97e3ed5c4
Fix opening files from browser
2019-10-30 20:17:31 +05:30
Arun Prakash Jana
b987931f47
Do not pass path to commands
2019-10-24 20:25:07 +05:30
Arun Prakash Jana
5bebd4ac67
Extend plugin mechanism to arbitrary commands
2019-10-24 12:44:01 +05:30
Arun Prakash Jana
cb916661c8
Minor reformat
2019-10-24 11:53:34 +05:30
Arun Prakash Jana
5734f49126
Fix KEY_RESIZE loop
2019-10-24 08:47:45 +05:30
Arun Prakash Jana
3dd95fd9a8
Fix checkpatch warnings
2019-10-24 08:44:36 +05:30
Anna Arad
9afd7cf3bf
Implement plugins control of nnn + plugins ( #364 )
...
* Implement plugins control of nnn + plugins
* Refactor plugins control code and fix getplugs to recognize hidden files
* Fix bug when going to dir on non-current context from plugin
* Fix some plugins to work on openbsd and freebsd
* Renamings
* Switch to -R flag in cp instead of -r; BSDs complain
* Change braces of function location
* Rewrite plugin creation in README and add new plugins to the table
* Update the fzcd script to include fzy or fzf
* Change plugin name resolve-link-dir -> lncd
* Fixing plugins README table
* Remove some cd plugins but add them as examples to plugins README
2019-10-23 15:34:12 +05:30