folke / which-key.nvim

💥 Create key bindings that stick. WhichKey helps you remember your Neovim keymaps, by showing available keybindings in a popup as you type.
Apache License 2.0
5.26k stars 165 forks source link

<SID> mapping in WhichKey #171

Closed dsully closed 2 months ago

dsully commented 3 years ago

When using https://github.com/andymass/vim-matchup, it registers a keymap which shows up as:

CleanShot 2021-09-12 at 10 30 06@2x

Ideally <80> would not be display in WhichKey.

I tracked it down to these lines in vim-matchup/autoload/matchup.vim, line 234

" gets the current forced motion type
nnoremap <silent><expr> <sid>(wise)
      \ empty(g:v_motion_force) ? 'v' : g:v_motion_force

Can WhichKey ignore <sid> mappings?

See also: https://github.com/andymass/vim-matchup/issues/177

Thanks

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.