Skip to content

Commit

Permalink
Last -> Previous
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Jan 3, 2024
1 parent 310f03d commit 045e2f6
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 151 deletions.
1 change: 0 additions & 1 deletion docs/en/src/awesome-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ of the following plugins work for you, it's very easy to
[62]: https://github.com/duganchen/one-table-column.xplr
[63]: https://github.com/dy-sh/dysh-style.xplr
[64]: https://github.com/dy-sh/get-rid-of-index.xplr

278 changes: 140 additions & 138 deletions docs/en/src/default-key-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ of [modes][4] and the key mappings for each mode.

| key | remaps | action |
| --------- | ------ | ------------------- |
| ( | | prev deep branch |
| ) | | next deep branch |
| . | | show hidden |
| / | ctrl-f | search |
| : | | action |
Expand Down Expand Up @@ -49,47 +51,40 @@ of [modes][4] and the key mappings for each mode.
| ~ | | go home |
| [0-9] | | input |

### vroot

| key | remaps | action |
| ------ | ------ | ---------------- |
| . | | vroot $PWD |
| / | | vroot / |
| ctrl-r | | reset vroot |
| ctrl-u | | unset vroot |
| f1 | | global help menu |
| v | | toggle vroot |
| ~ | | vroot $HOME |

### recover

| key | remaps | action |
| --- | ------ | ---------------- |
| f1 | | global help menu |

### create_file
### duplicate_as

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |

### delete
### filter

| key | remaps | action |
| --- | ------ | ---------------- |
| D | | force delete |
| d | | delete |
| f1 | | global help menu |
| key | remaps | action |
| --------- | ------ | ---------------------------------- |
| R | | relative path does not match regex |
| backspace | | remove last filter |
| ctrl-r | | reset filters |
| ctrl-u | | clear filters |
| f1 | | global help menu |
| r | | relative path does match regex |

### create_directory
### action

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |
| key | remaps | action |
| ----- | ------ | -------------------- |
| ! | | shell |
| c | | create |
| e | | open in editor |
| f1 | | global help menu |
| l | | logs |
| m | | toggle mouse |
| p | | edit permissions |
| q | | quit options |
| s | | selection operations |
| v | | vroot |
| [0-9] | | go to index |

### create

Expand All @@ -99,52 +94,80 @@ of [modes][4] and the key mappings for each mode.
| f | | create file |
| f1 | | global help menu |

### go_to
### switch_layout

| key | remaps | action |
| --- | ------ | -------------------- |
| 1 | | default |
| 2 | | no help menu |
| 3 | | no selection panel |
| 4 | | no help or selection |
| f1 | | global help menu |

### selection_ops

| key | remaps | action |
| --- | ------ | ---------------- |
| f | | follow symlink |
| c | | copy here |
| e | | edit selection |
| f1 | | global help menu |
| g | | top |
| i | | initial $PWD |
| p | | path |
| x | | open in gui |
| h | | hardlink here |
| l | | list selection |
| m | | move here |
| s | | softlink here |
| u | | clear selection |

### relative_path_does_not_match_regex
### delete

| key | remaps | action |
| --- | ------ | ---------------- |
| D | | force delete |
| d | | delete |
| f1 | | global help menu |

### number

| key | remaps | action |
| ----- | ------ | ---------------- |
| down | j | to down |
| enter | | to index |
| f1 | | global help menu |
| k | up | to up |
| [0-9] | | input |

### create_directory

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |

### switch_layout
### recover

| key | remaps | action |
| --- | ------ | -------------------- |
| 1 | | default |
| 2 | | no help menu |
| 3 | | no selection panel |
| 4 | | no help or selection |
| f1 | | global help menu |
| key | remaps | action |
| --- | ------ | ---------------- |
| f1 | | global help menu |

### go_to_path
### rename

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |

### quit
### vroot

| key | remaps | action |
| ----- | ------ | ----------------------- |
| enter | | just quit |
| f | | quit printing focus |
| f1 | | global help menu |
| p | | quit printing pwd |
| r | | quit printing result |
| s | | quit printing selection |
| key | remaps | action |
| ------ | ------ | ---------------- |
| . | | vroot $PWD |
| / | | vroot / |
| ctrl-r | | reset vroot |
| ctrl-u | | unset vroot |
| f1 | | global help menu |
| v | | toggle vroot |
| ~ | | vroot $HOME |

### relative_path_does_match_regex

Expand All @@ -153,13 +176,12 @@ of [modes][4] and the key mappings for each mode.
| enter | | submit |
| f1 | | global help menu |

### rename
### relative_path_does_not_match_regex

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |

### debug_error

Expand All @@ -169,34 +191,68 @@ of [modes][4] and the key mappings for each mode.
| f1 | | global help menu |
| q | | quit |

### action
### edit_permissions

| key | remaps | action |
| ----- | ------ | -------------------- |
| ! | | shell |
| c | | create |
| e | | open in editor |
| f1 | | global help menu |
| l | | logs |
| m | | toggle mouse |
| p | | edit permissions |
| q | | quit options |
| s | | selection operations |
| v | | vroot |
| [0-9] | | go to index |
| key | remaps | action |
| ------ | ------ | ---------------- |
| G | | -group |
| M | | min |
| O | | -other |
| U | | -user |
| ctrl-r | | reset |
| enter | | submit |
| f1 | | global help menu |
| g | | +group |
| m | | max |
| o | | +other |
| u | | +user |

### selection_ops
### sort

| 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-r | | reset sorters |
| ctrl-u | | clear sorters |
| e | | by canonical extension |
| enter | | submit |
| f1 | | global help menu |
| l | | by last modified |
| m | | by canonical mime essence |
| n | | by node type |
| r | | by relative path |
| s | | by size |

### go_to

| key | remaps | action |
| --- | ------ | ---------------- |
| c | | copy here |
| e | | edit selection |
| f | | follow symlink |
| f1 | | global help menu |
| h | | hardlink here |
| l | | list selection |
| m | | move here |
| s | | softlink here |
| u | | clear selection |
| g | | top |
| i | | initial $PWD |
| p | | path |
| x | | open in gui |

### quit

| key | remaps | action |
| ----- | ------ | ----------------------- |
| enter | | just quit |
| f | | quit printing focus |
| f1 | | global help menu |
| p | | quit printing pwd |
| r | | quit printing result |
| s | | quit printing selection |

### search

Expand All @@ -216,72 +272,18 @@ of [modes][4] and the key mappings for each mode.
| right | | enter |
| tab | | toggle selection |

### duplicate_as
### go_to_path

| key | remaps | action |
| ----- | ------ | ---------------- |
| enter | | submit |
| f1 | | global help menu |
| tab | | try complete |

### number
### create_file

| key | remaps | action |
| ----- | ------ | ---------------- |
| down | j | to down |
| enter | | to index |
| enter | | submit |
| f1 | | global help menu |
| k | up | to up |
| [0-9] | | input |

### sort

| 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-r | | reset sorters |
| ctrl-u | | clear sorters |
| e | | by canonical extension |
| enter | | submit |
| f1 | | global help menu |
| l | | by last modified |
| m | | by canonical mime essence |
| n | | by node type |
| r | | by relative path |
| s | | by size |

### edit_permissions

| key | remaps | action |
| ------ | ------ | ---------------- |
| G | | -group |
| M | | min |
| O | | -other |
| U | | -user |
| ctrl-r | | reset |
| enter | | submit |
| f1 | | global help menu |
| g | | +group |
| m | | max |
| o | | +other |
| u | | +user |

### filter

| key | remaps | action |
| --------- | ------ | ---------------------------------- |
| R | | relative path does not match regex |
| backspace | | remove last filter |
| ctrl-r | | reset filters |
| ctrl-u | | clear filters |
| f1 | | global help menu |
| r | | relative path does match regex |
| tab | | try complete |
6 changes: 3 additions & 3 deletions docs/en/src/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ Example:
- Lua: `"NextVisitedPath"`
- YAML: `NextVisitedPath`

#### LastVisitedDeepBranch
#### PreviousVisitedDeepBranch

Go to the previous deep level branch.

Example:

- Lua: `"LastVisitedDeepBranch"`
- YAML: `LastVisitedDeepBranch`
- Lua: `"PreviousVisitedDeepBranch"`
- YAML: `PreviousVisitedDeepBranch`

#### NextVisitedDeepBranch

Expand Down
Loading

0 comments on commit 045e2f6

Please sign in to comment.