Skip to content

Commit

Permalink
docs: add tips for close input by once Esc press
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Nov 4, 2023
1 parent 603eaf4 commit ea9889c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ Add the keybindings to the `[manager]` of `keymap.toml`:

Please make sure that `<C-s>` does not conflict with your other keys.

## Close input by once `<Esc>` press

You can change the `<Esc>` of input component from the default `escape` to `close` command:

```toml
{ on = [ "<Esc>" ], exec = "close", desc = "Cancel input" }
```

To exiting input directly, without entering Vi mode, making it behave like a regular input box.

## Show symlink in status bar

<img src={useBaseUrl("/img/symlink-in-status.png")} width="600" />
Expand Down

0 comments on commit ea9889c

Please sign in to comment.