Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to example config & show how to trigger commands with keybinding #32

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

dvdsk
Copy link
Contributor

@dvdsk dvdsk commented Sep 26, 2024

For some reason I could not find the example config even though it was clearly in the repo's root.

By linking it in the config docs its easy to place config parts into context.

It also took me a while to realize I could trigger commands by binding to ':command' . Therefore it seemed like a good idea to show that too.

Copy link
Owner

@ulyssa ulyssa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great addition, thank you for adding these! Just one note on a typo.

src/configure.md Outdated
@@ -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 'gd' in normal mode use:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you meant this to be 'gc' like in the example below.

Copy link
Contributor Author

@dvdsk dvdsk Sep 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh typo's, my greatest nemesis. Thanks for catching that ill fix it 👍

For some reason I could not find the example config even though it was clearly in the repo's root.

By linking it in the config docs its easy to place config parts into context.

It also took me a while to realize I could trigger commands by binding to ':command<Enter>' . Therefore it seemed like a good idea to show that too.
@ulyssa ulyssa merged commit 568b0dc into ulyssa:next Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants