Skip to content

feat(help ui): allow custom names to be provided for custom keybinds #485

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

Merged
merged 2 commits into from
Jul 6, 2021

Conversation

l-kershaw
Copy link
Contributor

Allows users to provide a name for a custom keybinding, instead of displaying the full callback string (which is often quite long)

  • allows users to pass a name key when defining a custom binding
  • defaults to the cb string when name is not present
  • name key is ignored for built in callbacks

l-kershaw added 2 commits July 2, 2021 22:24
- allows users to pass a `name` key when defining a custom binding

- defaults to the `cb` string when `name` is not present

- `name` key is ignored for built in callbacks
@kyazdani42 kyazdani42 merged commit fd7f60e into nvim-tree:master Jul 6, 2021
Almo7aya pushed a commit to Almo7aya/nvim-tree.lua that referenced this pull request Oct 11, 2022
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