colors, ../ och -a
This commit is contained in:
16
README.md
16
README.md
@@ -56,8 +56,17 @@ Then:
|
||||
tui
|
||||
```
|
||||
|
||||
Use `-a` to include hidden files and directories:
|
||||
|
||||
```bash
|
||||
tui -a
|
||||
```
|
||||
|
||||
The installer does not overwrite an existing `~/.tui`.
|
||||
|
||||
`-a` / `--all` is a command-line option, so the shell integration preserves it
|
||||
when the TUI restarts after an action.
|
||||
|
||||
## `.tui` configuration
|
||||
|
||||
TUI searches for the nearest `.tui` starting in the current directory and
|
||||
@@ -108,7 +117,12 @@ The default example configuration uses:
|
||||
|
||||
- `↑` / `↓` — move cursor
|
||||
- `Enter` / `→` — execute the configured action
|
||||
- `←` — parent directory
|
||||
- `../` — synthetic parent-directory entry at the top of every listing
|
||||
- `←` — move the cursor to `../`; pressing `←` again enters the parent directory
|
||||
- `Enter` on `../` — enter the parent directory
|
||||
- navigation cannot move above the directory containing the applicable `.tui` file
|
||||
- hidden files and directories are hidden by default; `tui -a` shows them
|
||||
- file and directory colors follow the usual GNU `ls --color=yes` conventions for common file types
|
||||
- `Ctrl-K B` — set selection start
|
||||
- `Ctrl-K K` — set selection end
|
||||
- `Ctrl-K C` — copy marked files/folders
|
||||
|
||||
Reference in New Issue
Block a user