Commit Graph

703 Commits

Author SHA1 Message Date
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
Arun Prakash Jana 0144f44060
Remove special characters from help 2019-10-21 20:13:52 +05:30
Arun Prakash Jana 3966465171
Change spaces to tab 2019-10-21 06:55:19 +05:30
Arun Prakash Jana 651b27032d
Fix #366 2019-10-20 19:37:35 +05:30
Arun Prakash Jana f601d825bc
Refactor fixes 2019-10-20 19:19:25 +05:30
Arun Prakash Jana 71bf18cee3
Refactor 2019-10-20 05:35:41 +05:30
Arun Prakash Jana 1b3b9f503d
Refactor cp, mv, cp-mv as, rm 2019-10-19 13:25:50 +05:30
Arun Prakash Jana 95e9151c90
Refactor screen move 2019-10-19 09:10:52 +05:30
Arun Prakash Jana 864273dd9b
Refactor current directory removal 2019-10-19 08:43:32 +05:30
Arun Prakash Jana ae7a3fbdc1
Clean up plugin handling code 2019-10-19 07:00:04 +05:30
Arun Prakash Jana 3aebeaec58
Update docs on session 2019-10-19 04:03:46 +05:30
Anna Arad 60dac94a5e Implementing sessions support (#360)
* Initial commit of sessions implementation

* Reduce code duplication

* Move load session to program flag -e

* Fix context initialization problem when loading session

* Add pinned directory to session and reduce session file size

* Make load_session print an error if exists and few minor adjustments

* Refactor session's file structure

* Initialize required structures in load_session before loading

* Add load session dynamically, restore last session, and extra fixes

* Fix indentation

* Add sessions documentation to man page

* Update fish completions with sessions and make some improvements

* Move to single keybinding session management and add help info

* ESC when asked to insert session name behaves better

* Add sessions completion for bash

* Remove pinned dir from session and minor code refactors
2019-10-19 03:41:39 +05:30
Arun Prakash Jana 2da5602a4f
Use a single keybind for cp/mv as 2019-10-17 23:35:49 +05:30