mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 13:21:29 +00:00
Updated Basic use cases (markdown)
parent
0aad1b2f13
commit
1ddce27f65
|
@ -267,12 +267,12 @@ To use `nnn` as a file picker and redirect the output to other programs, use [`p
|
|||
|
||||
Ways to pick files:
|
||||
|
||||
- use selection and press <kbd>q</kbd> to quit
|
||||
- press <kbd>Enter</kbd> to pick any earlier selection and the current entry (to avoid selecting the last file in the selection twice, press <kbd>q</kbd> instead).
|
||||
- to pick a single file and quit, hover on it and press <kbd>Enter</kbd>
|
||||
- to pick selection and quit, select file(s) and press <kbd>Enter</kbd> or <kbd>q</kbd>
|
||||
|
||||
Notes:
|
||||
|
||||
1. pressing <kbd>Enter</kbd> on a directory enters it; when trying to pick a directory, e.g. to pipe to `cd`, use single file selection and press <kbd>q</kbd>
|
||||
1. pressing <kbd>Enter</kbd> on a directory enters it; when trying to pick a directory, e.g. to pipe to `cd`, use single file selection
|
||||
2. to discard selection and quit, press <kbd>^G</kbd>
|
||||
|
||||
Example picker mode use cases:
|
||||
|
|
Loading…
Reference in a new issue