Skip to content

Commit

Permalink
Link to example config & show how to trigger commands with keybinding (
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdsk authored Sep 29, 2024
1 parent c655090 commit 568b0dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
__iamb__ is configurable via a TOML configuration file located in the
configuration directory. By default, the configuration directory is determined
by [dirs::config_dir], but you can override it at startup with the `-C`
command-line flag.
command-line flag. An example config can be found in the root of the repo
[here](https://github.com/ulyssa/iamb/blob/v0.0.10/config.example.toml).

## Profiles

Expand Down Expand Up @@ -293,6 +294,14 @@ and `V` to `<C-W>m` in Normal and Visual mode:
"V" = "<C-W>m"
```

You can also use this to trigger commands. For example, to list all chats
when you press 'gc' in normal mode use:

```toml
[macros.normal]
"gc" = ":chats<Enter>"
```

The available modes are:

- `normal`/`n` for Normal mode
Expand Down

0 comments on commit 568b0dc

Please sign in to comment.