liuchengxu/vim-which-key

它似乎和Plug 'junegunn/vim-easy-align'有一些冲突。

sumengmsm opened this issue · 0 comments

配置完Plug 'junegunn/vim-easy-align'后
按下ga会出现
[which-key] <space> 可 is undefined
我的which-key配置是:

nnoremap <silent> <leader>         :<c-u>WhichKey '<Space>'<CR>
" vnoremap <silent> <leader>	   :<c-u>WhichKeyVisual '<Space>'<CR>
nnoremap <silent> <localleader>    :<c-u>WhichKey  ','<CR>
" vnoremap <silent> <localleader>  :<c-u>WhichKeyVisual ','<CR>

vim-easy-align的配置是:

xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)