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

Add keymap description option #43

Closed
nat-418 opened this issue Jan 11, 2023 · 0 comments · Fixed by #45
Closed

Add keymap description option #43

nat-418 opened this issue Jan 11, 2023 · 0 comments · Fixed by #45
Labels
enhancement New feature or request

Comments

@nat-418
Copy link

nat-418 commented Jan 11, 2023

nvim-treesitter-refactor keymaps cannot be described as in nvim-treesitter-textobjects or using vim.keymap.set mappings.

It would be nice if nvim-treesitter-refactor supported the same structure as nvim-treesitter-textobjects, e.g.,

keymaps = {
  [']u'] = {
    action = goto_next_usage,
    desc = 'Next usage'
  }
}

Implementing this feature will provide better integration with the Neovim ecosystem of plugins like which-key and legendary.

@nat-418 nat-418 added the enhancement New feature or request label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant