Commit graph

45 commits

Author SHA1 Message Date
Arun Prakash Jana 600286b627
Always prefer selection over current file
If you have selected some files, you intend to work on them. Also, this prompt
expects <kbd>c</kbd> / <kbd>s</kbd> which should cancel the next prompt in the
delete workflow. Rest of the three workflows are non-fatal.

Benefits of removing this option:
- code reduction
- one less step in the relevant workflows (more than one prompt feels dragged)

This prompt shows in the following workflows:
- delete: users have explicitly requested to prefer sel over current
- batch rename: key <kbd>^R</kbd> renames a single file
- archive: in most of the cases the user would want to archive the selection
- create sym/hard link: not a frequently used workflow (in general)
2021-02-10 05:12:40 +05:30
Arun Prakash Jana ff5685b64d Option -U to show user and group in status bar 2020-10-31 20:48:05 +05:30
Arun Prakash Jana 0b0605813d
Update auto-completion scripts 2020-09-01 23:06:26 +05:30
Arun Prakash Jana 42fd2a4d13
Program option to use older 2020-08-04 20:36:19 +05:30
Arun Prakash Jana 4b4bf6cca5
Option -u to disable current/selection prompt 2020-06-15 19:54:44 +05:30
Ian R 1f22da2994
Feature #534: Support hardware cursor sync 2020-06-11 11:30:43 +05:30
lvgx b1027150ed
Add -a option to generate a temporary NNN_FIFO (#588)
* Add -a option to generate a temporary NNN_FIFO

* Add documentation for -a option

* plugins/README.md: promote the use of -a

This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:

Polish -a
2020-05-23 17:40:51 +05:30
Arun Prakash Jana 1b5c3096ca
Option -P: specify plugin key to run on start 2020-05-18 09:05:19 +05:30
Arun Prakash Jana 14beb0746f
Fix #564: Option -l: number of lines to move on mouse scroll 2020-05-10 11:22:02 +05:30
Arun Prakash Jana 1014d941b1
Support only NO_COLOR, revert -C to disable color 2020-04-05 13:07:18 +05:30
Arun Prakash Jana 02c02c520d
Option -C to disable color 2020-04-05 05:53:46 +05:30
Arun Prakash Jana 54d2580799
Add fortune to help 2020-03-30 09:09:11 +05:30
Arun Prakash Jana 22ccf5e2e6
Support time type (access/change/mod) change 2020-03-28 09:20:14 +05:30
Arun Prakash Jana 0c55977465
Fix #496: option -f to use readline history file 2020-03-20 22:24:49 +05:30
Arun Prakash Jana f4786da9bc
Option -T obsoletes option -v 2020-03-18 02:41:30 +05:30
Arun Prakash Jana 85379a703b
Option -T to change default sort order 2020-03-18 02:35:05 +05:30
Arun Prakash Jana 64667b377d
Options -e and -t
Replaces the following environment variables:
- NNN_USE_EDITOR
- NNN_IDLE_TIMEOUT
2020-01-17 19:37:57 +05:30
Arun Prakash Jana 7bf7894022
Use option -A to disable dir auto-select 2020-01-09 03:34:10 +05:30
Arun Prakash Jana 1003c0f8fc
Option n - nav as you type, V - version sort 2019-12-25 22:33:38 +05:30
Arun Prakash Jana ffb0b0e3c2 Revert "Use b and ^B as bookmark key"
This reverts commit 278fcfdfc9.
2019-12-25 22:18:09 +05:30
Arun Prakash Jana 278fcfdfc9
Use b and ^B as bookmark key 2019-12-25 14:37:51 +05:30
Arun Prakash Jana 37988cf854
Program option to load session is now -s
- remove auto-stored session "@" on restore
- minor help update
2019-12-20 15:49:13 +05:30
Arun Prakash Jana 9725c17d20 Revert "Internal states, sessions changes"
This reverts commit cf388649b9.
2019-12-20 15:30:53 +05:30
Arun Prakash Jana cf388649b9
Internal states, sessions changes
- replace bools for internal non-persistent binary states with an uchar
- do not store path to session, derive from config path in tmp buffer
- program option to load session is not `-s`
- remove auto-stored session "@" on restore
- minor help update
2019-12-19 08:45:26 +05:30
Arun Prakash Jana 208a6605f5
Fix #402 2019-12-14 23:28:13 +05:30
Arun Prakash Jana 95f530854d
remove program option -f 2019-12-14 20:25:23 +05:30
Arun Prakash Jana 09083f3ed6
Update docs 2019-12-14 19:18:19 +05:30
Arun Prakash Jana fd8a8387b8
Add option to show noti and copy selection to system clipboard 2019-12-12 19:51:08 +05:30
Arun Prakash Jana 3f0c604111
Option -R to disable rollover at edges 2019-12-01 23:00:06 +05:30
Arun Prakash Jana 12669be900
Update auto-completion scripts 2019-11-30 18:14:39 +05:30
Vidar Holen 1bf49c80e7 Some of the shell script fixes as per discussion (#389)
* Improved completion support for files with spaces

Filenames with spaces, both generally and for session names, will now
complete as expected.

* Misc shell script improvements

See discussion on:
1cca9e4b72
2019-11-26 18:06:31 +05:30
Arun Prakash Jana 1cca9e4b72
shellcheck fixes 2019-11-22 11:13:34 +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 fe80d5aa9d
Update key collision detection 2019-10-11 20:59:22 +05:30
Arun Prakash Jana bb0f1db965
Update auto-complete scripts 2019-10-06 18:57:15 +05:30
Arun Prakash Jana ec873ab4fa
Option -a to use file access time 2019-08-30 21:00:47 +05:30
Arun Prakash Jana 94c3af873c
Implement mediainfo as a plugin 2019-08-28 00:02:33 +05:30
Arun Prakash Jana a4d8d68c7d
Option -r to show cp, mv progress on Linux 2019-08-23 20:28:56 +05:30
Arun Prakash Jana f4f1acf856
Remove wild load option 2019-08-20 20:00:48 +05:30
Arun Prakash Jana e9f7b6aa6c
Option -t replaces NNN_NO_AUTOSELECT 2019-08-17 00:07:38 +05:30
Arun Prakash Jana ac815c692a
Option -o replaces NNN_RESTRICT_NAV_OPEN 2019-08-16 23:40:43 +05:30
Arun Prakash Jana e13481c5b0
Update auto-completion scripts 2019-08-16 23:15:29 +05:30
Arun Prakash Jana aa840a7f65
Resurrect default sort 2019-07-14 23:00:14 +05:30
Arun Prakash Jana 427c4b2429
Bash auto-complete enhancements 2019-07-08 23:35:30 +05:30
Arun Prakash Jana 794a0e2709
Move scripts to misc 2019-06-17 07:04:42 +05:30