summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcereum <49958069+cereum@users.noreply.github.com>2023-07-09 16:47:23 -0500
committerGitHub <noreply@github.com>2023-07-09 17:47:23 -0400
commitb57184e4ea72d4a97b83f6a9c3c5a0b9e5295cf8 (patch)
tree34d90638de1b8b33c21fe2edb2fff8ceab4bb746
parentd921fc1f793467c3fe2c8f31285f3e1c51c1a328 (diff)
Update README.md to show the abbreviated default keymap in plain english and homebrew install method (#358)
* Update README.md to show the abbreviated default keymap in plain english * Update README.md * Update README.md
-rw-r--r--README.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md
index a576217..3812f7b 100644
--- a/README.md
+++ b/README.md
@@ -119,12 +119,52 @@ nix run github:kamiyaa/joshuto
sudo port install joshuto
```
+##### MacOS/Linux [Homebrew](https://brew.sh/)
+
+```
+brew install joshuto
+```
+
## Usage
```
~ $ joshuto
```
+#### Navigation
+- Move up: `arrow_up` or `k`
+- Move down: `arrow_down` or `j`
+- Move to parent directory: `arrow_left` or `h`
+- Open file or directory: `arrow_right` or `l`
+- Go to the top: `home` or `g g`
+- Go to the bottom: `end` or `G`
+- Page up: `page_up` or `ctrl+u`
+- Page down: `page_down` or `ctrl+d`
+
+#### Tab Management
+- Open a new tab: `ctrl+t`
+- Open a new tab with current directory: `T`
+- Close the current tab: `W` or `ctrl+w`
+- Switch to next tab: `\t`
+- Switch to previous tab: `backtab`
+
+#### File Operations
+- Rename file: `a` to append or `A` to prepend
+- Delete file: `delete` or `d d`
+- Cut file: `d d`
+- Copy file: `y y`
+- Paste file: `p p`
+- Paste file with overwrite: `p o`
+- Symlink files: `p l` for absolute path, `p L` for relative path
+
+#### Miscellaneous
+- Toggle hidden files: `z h`
+- Reload directory list: `R`
+- Change directory: `c d`
+- Show tasks: `w`
+- Set mode: `=`
+- Enter command mode: `:`
+
See [docs#quit](/docs/configuration/keymap.toml.md#quit-quit-joshuto) for exiting into current directory
and other usages