diff --git a/docs/en/src/default-key-bindings.md b/docs/en/src/default-key-bindings.md index d018c81..b7bd980 100644 --- a/docs/en/src/default-key-bindings.md +++ b/docs/en/src/default-key-bindings.md @@ -7,6 +7,15 @@ requirements. When you press `?` in [default mode][3], you can see the complete list 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 | key | remaps | action | @@ -39,117 +48,32 @@ of [modes][4] and the key mappings for each mode. | ~ | | go home | | [0-9] | | input | -### debug error - -| key | remaps | action | -| ------ | ------ | ------------------- | -| ctrl-c | | terminate | -| enter | | open logs in editor | -| esc | | escape | -| q | | quit | - -### recover - -| key | remaps | action | -| ------ | ------ | --------- | -| ctrl-c | | terminate | -| esc | | escape | - -### selection ops - -| key | remaps | action | -| ------ | ------ | ----------- | -| c | | copy here | -| ctrl-c | | terminate | -| esc | | cancel | -| m | | move here | -| x | | open in gui | - -### create - -| key | remaps | action | -| ------ | ------ | ---------------- | -| ctrl-c | | terminate | -| d | | create directory | -| esc | | cancel | -| f | | create file | - -### create directory - -| key | remaps | action | -| ------ | ------ | ---------------- | -| ctrl-c | | terminate | -| enter | | create directory | -| esc | | cancel | - -### create file - -| key | remaps | action | -| ------ | ------ | ----------- | -| ctrl-c | | terminate | -| enter | | create file | -| esc | | cancel | - -### number +### duplicate_as | key | remaps | action | | ------ | ------ | --------- | | ctrl-c | | terminate | -| down | j | to down | -| enter | | to index | +| enter | | duplicate | | esc | | cancel | -| k | up | to up | -| [0-9] | | input | - -### go to - -| key | remaps | action | -| ------ | ------ | -------------- | -| ctrl-c | | terminate | -| esc | | cancel | -| f | | follow symlink | -| g | | top | -| x | | open in gui | -### rename +### relative_path_does_not_match_regex | key | remaps | action | | ------ | ------ | --------- | | ctrl-c | | terminate | -| enter | | rename | +| enter | | submit | | esc | | cancel | -### duplicate as +### number | key | remaps | action | | ------ | ------ | --------- | | ctrl-c | | terminate | -| enter | | duplicate | +| down | j | to down | +| enter | | to index | | esc | | cancel | - -### delete - -| key | remaps | action | -| ------ | ------ | ------------ | -| D | | force delete | -| ctrl-c | | terminate | -| d | | delete | -| esc | | cancel | - -### action to - -| key | remaps | action | -| ------ | ------ | -------------------- | -| ! | | shell | -| c | | create | -| ctrl-c | | terminate | -| e | | open in editor | -| esc | | cancel | -| l | | logs | -| m | | toggle mouse | -| q | | quit options | -| s | | selection operations | -| [0-9] | | go to index | +| k | up | to up | +| [0-9] | | input | ### search @@ -163,6 +87,27 @@ of [modes][4] and the key mappings for each mode. | 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 + +| key | remaps | action | +| ------ | ------ | ---------------- | +| ctrl-c | | terminate | +| d | | create directory | +| esc | | cancel | +| f | | create file | + ### filter | key | remaps | action | @@ -172,23 +117,16 @@ of [modes][4] and the key mappings for each mode. | ctrl-c | | terminate | | ctrl-r | | reset filters | | ctrl-u | | clear filters | -| enter | esc | done | +| enter | esc | submit | | r | | relative path does match regex | -### relative path does match regex - -| key | remaps | action | -| ------ | ------ | ------------ | -| ctrl-c | | terminate | -| enter | | apply filter | -| esc | | cancel | - -### relative path does not match regex +### delete | key | remaps | action | | ------ | ------ | ------------ | +| D | | force delete | | ctrl-c | | terminate | -| enter | | apply filter | +| d | | delete | | esc | | cancel | ### sort @@ -209,14 +147,56 @@ of [modes][4] and the key mappings for each mode. | ctrl-r | | reset sorters | | ctrl-u | | clear sorters | | e | | by canonical extension | -| enter | esc | done | +| enter | esc | submit | | l | | by last modified | | m | | by canonical mime essence | | n | | by node type | | r | | by relative path | | s | | by size | -### switch layout +### go_to + +| key | remaps | action | +| ------ | ------ | -------------- | +| ctrl-c | | terminate | +| esc | | cancel | +| f | | follow symlink | +| g | | top | +| p | | path | +| x | | open in gui | + +### create_file + +| key | remaps | action | +| ------ | ------ | ------------ | +| ctrl-c | | terminate | +| enter | | submit | +| esc | | cancel | +| tab | | try complete | + +### recover + +| key | remaps | action | +| ------ | ------ | --------- | +| ctrl-c | | terminate | +| esc | | escape | + +### action + +| key | remaps | action | +| ------ | ------ | -------------------- | +| ! | | shell | +| c | | create | +| ctrl-c | | terminate | +| e | | open in editor | +| esc | | cancel | +| l | | logs | +| m | | toggle mouse | +| q | | quit options | +| s | | selection operations | +| [0-9] | | go to index | + +### switch_layout | key | remaps | action | | ------ | ------ | -------------------- | @@ -227,17 +207,50 @@ of [modes][4] and the key mappings for each mode. | ctrl-c | | terminate | | esc | | cancel | -### quit +### relative_path_does_match_regex -| 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 | +| key | remaps | action | +| ------ | ------ | --------- | +| ctrl-c | | terminate | +| enter | | submit | +| esc | | cancel | + +### debug_error + +| key | remaps | action | +| ------ | ------ | ------------------- | +| ctrl-c | | terminate | +| enter | | open logs in editor | +| esc | | escape | +| q | | quit | + +### go_to_path + +| key | remaps | action | +| ------ | ------ | ------------ | +| ctrl-c | | terminate | +| enter | | submit | +| esc | | cancel | +| tab | | try complete | + +### selection_ops + +| key | remaps | action | +| ------ | ------ | ----------- | +| c | | copy here | +| ctrl-c | | terminate | +| esc | | cancel | +| m | | move here | +| x | | open in gui | + +### rename + +| key | remaps | action | +| ------ | ------ | ------------ | +| ctrl-c | | terminate | +| enter | | rename | +| esc | | cancel | +| tab | | try complete | [1]: https://www.vim.org/ [2]: https://github.com/jarun/nnn/