Skip to content

Commit

Permalink
docs: add tip about using lua api for custom bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Sep 9, 2024
1 parent efe2026 commit 15803ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,14 @@ You can optionally configure yazi.nvim by setting any of the options below.
}
```

> [!TIP]
>
> If you are adding custom bindings for special use cases, you can use the lua
> api. It allows customizing the configuration on a per call basis. For example,
> you can open yazi with a different configuration by calling
> `require('yazi').yazi({open_for_directories = true})` to override some of your
> default settings for this specific call.
## ⌨️ Keybindings

These are the default keybindings that are available when yazi is open:
Expand Down

0 comments on commit 15803ce

Please sign in to comment.