Update docs

pull/487/head
Arijit Basu 2 years ago committed by Arijit Basu
parent 5370cc2e8c
commit 563e2d1475

@ -7,6 +7,15 @@ requirements.
When you press `?` in [default mode][3], you can see the complete list When you press `?` in [default mode][3], you can see the complete list
of [modes][4] and the key mappings for each mode. of [modes][4] and the key mappings for each mode.
### create_directory
| key | remaps | action |
| ------ | ------ | ------------ |
| ctrl-c | | terminate |
| enter | | submit |
| esc | | cancel |
| tab | | try complete |
### default ### default
| key | remaps | action | | key | remaps | action |
@ -39,31 +48,56 @@ of [modes][4] and the key mappings for each mode.
| ~ | | go home | | ~ | | go home |
| [0-9] | | input | | [0-9] | | input |
### debug error ### duplicate_as
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ------------------- | | ------ | ------ | --------- |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | open logs in editor | | enter | | duplicate |
| esc | | escape | | esc | | cancel |
| q | | quit |
### recover ### relative_path_does_not_match_regex
| key | remaps | action | | key | remaps | action |
| ------ | ------ | --------- | | ------ | ------ | --------- |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| esc | | escape | | enter | | submit |
| esc | | cancel |
### selection ops ### number
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ----------- | | ------ | ------ | --------- |
| c | | copy here |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| down | j | to down |
| enter | | to index |
| esc | | cancel | | esc | | cancel |
| m | | move here | | k | up | to up |
| x | | open in gui | | [0-9] | | input |
### search
| key | remaps | action |
| ------ | ------ | ---------------- |
| ctrl-c | | terminate |
| ctrl-n | down | down |
| ctrl-p | up | up |
| enter | esc | focus |
| left | | back |
| right | | enter |
| tab | | toggle selection |
### quit
| key | remaps | action |
| ------ | ------ | ----------------------- |
| ctrl-c | | terminate |
| enter | | just quit |
| esc | | cancel |
| f | | quit printing focus |
| p | | quit printing pwd |
| r | | quit printing result |
| s | | quit printing selection |
### create ### create
@ -74,34 +108,53 @@ of [modes][4] and the key mappings for each mode.
| esc | | cancel | | esc | | cancel |
| f | | create file | | f | | create file |
### create directory ### filter
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ---------------- | | --------- | ------ | ---------------------------------- |
| R | | relative path does not match regex |
| backspace | | remove last filter |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | create directory | | ctrl-r | | reset filters |
| esc | | cancel | | ctrl-u | | clear filters |
| enter | esc | submit |
| r | | relative path does match regex |
### create file ### delete
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ----------- | | ------ | ------ | ------------ |
| D | | force delete |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | create file | | d | | delete |
| esc | | cancel | | esc | | cancel |
### number ### sort
| key | remaps | action | | key | remaps | action |
| ------ | ------ | --------- | | --------- | ------ | --------------------------------- |
| ! | | reverse sorters |
| C | | by created reverse |
| E | | by canonical extension reverse |
| L | | by last modified reverse |
| M | | by canonical mime essence reverse |
| N | | by node type reverse |
| R | | by relative path reverse |
| S | | by size reverse |
| backspace | | remove last sorter |
| c | | by created |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| down | j | to down | | ctrl-r | | reset sorters |
| enter | | to index | | ctrl-u | | clear sorters |
| esc | | cancel | | e | | by canonical extension |
| k | up | to up | | enter | esc | submit |
| [0-9] | | input | | l | | by last modified |
| m | | by canonical mime essence |
| n | | by node type |
| r | | by relative path |
| s | | by size |
### go to ### go_to
| key | remaps | action | | key | remaps | action |
| ------ | ------ | -------------- | | ------ | ------ | -------------- |
@ -109,34 +162,26 @@ of [modes][4] and the key mappings for each mode.
| esc | | cancel | | esc | | cancel |
| f | | follow symlink | | f | | follow symlink |
| g | | top | | g | | top |
| p | | path |
| x | | open in gui | | x | | open in gui |
### rename ### create_file
| key | remaps | action | | key | remaps | action |
| ------ | ------ | --------- | | ------ | ------ | ------------ |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | rename | | enter | | submit |
| esc | | cancel | | esc | | cancel |
| tab | | try complete |
### duplicate as ### recover
| key | remaps | action | | key | remaps | action |
| ------ | ------ | --------- | | ------ | ------ | --------- |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | duplicate | | esc | | escape |
| esc | | cancel |
### delete
| key | remaps | action |
| ------ | ------ | ------------ |
| D | | force delete |
| ctrl-c | | terminate |
| d | | delete |
| esc | | cancel |
### action to ### action
| key | remaps | action | | key | remaps | action |
| ------ | ------ | -------------------- | | ------ | ------ | -------------------- |
@ -151,93 +196,61 @@ of [modes][4] and the key mappings for each mode.
| s | | selection operations | | s | | selection operations |
| [0-9] | | go to index | | [0-9] | | go to index |
### search ### switch_layout
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ---------------- | | ------ | ------ | -------------------- |
| 1 | | default |
| 2 | | no help menu |
| 3 | | no selection panel |
| 4 | | no help or selection |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| ctrl-n | down | down | | esc | | cancel |
| ctrl-p | up | up |
| enter | esc | focus |
| left | | back |
| right | | enter |
| tab | | toggle selection |
### filter ### relative_path_does_match_regex
| key | remaps | action | | key | remaps | action |
| --------- | ------ | ---------------------------------- | | ------ | ------ | --------- |
| R | | relative path does not match regex |
| backspace | | remove last filter |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| ctrl-r | | reset filters | | enter | | submit |
| ctrl-u | | clear filters | | esc | | cancel |
| enter | esc | done |
| r | | relative path does match regex |
### relative path does match regex ### debug_error
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ------------ | | ------ | ------ | ------------------- |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | apply filter | | enter | | open logs in editor |
| esc | | cancel | | esc | | escape |
| q | | quit |
### relative path does not match regex ### go_to_path
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ------------ | | ------ | ------ | ------------ |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | apply filter | | enter | | submit |
| esc | | cancel | | esc | | cancel |
| tab | | try complete |
### sort ### selection_ops
| key | remaps | action | | key | remaps | action |
| --------- | ------ | --------------------------------- | | ------ | ------ | ----------- |
| ! | | reverse sorters | | c | | copy here |
| C | | by created reverse |
| E | | by canonical extension reverse |
| L | | by last modified reverse |
| M | | by canonical mime essence reverse |
| N | | by node type reverse |
| R | | by relative path reverse |
| S | | by size reverse |
| backspace | | remove last sorter |
| c | | by created |
| ctrl-c | | terminate |
| ctrl-r | | reset sorters |
| ctrl-u | | clear sorters |
| e | | by canonical extension |
| enter | esc | done |
| l | | by last modified |
| m | | by canonical mime essence |
| n | | by node type |
| r | | by relative path |
| s | | by size |
### switch layout
| key | remaps | action |
| ------ | ------ | -------------------- |
| 1 | | default |
| 2 | | no help menu |
| 3 | | no selection panel |
| 4 | | no help or selection |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| esc | | cancel | | esc | | cancel |
| m | | move here |
| x | | open in gui |
### quit ### rename
| key | remaps | action | | key | remaps | action |
| ------ | ------ | ----------------------- | | ------ | ------ | ------------ |
| ctrl-c | | terminate | | ctrl-c | | terminate |
| enter | | just quit | | enter | | rename |
| esc | | cancel | | esc | | cancel |
| f | | quit printing focus | | tab | | try complete |
| p | | quit printing pwd |
| r | | quit printing result |
| s | | quit printing selection |
[1]: https://www.vim.org/ [1]: https://www.vim.org/
[2]: https://github.com/jarun/nnn/ [2]: https://github.com/jarun/nnn/

Loading…
Cancel
Save