itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 71 forks source link

Key remapping #205

Closed Balrrach closed 1 year ago

Balrrach commented 1 year ago

I have some mapping like noremap n j that work through all neovim modes. They don't seem to work in this pluggin. Is there a way to make them work in the pluggin while avoding a configuration like this:

augroup calendar-mappings
  autocmd!
  autocmd FileType calendar nmap <buffer> n <Plug>(calendar_down)
augroup END

for every action.

itchyny commented 1 year ago

How about setting nmap n j? I think that's the only way to allow transitive remapping.

itchyny commented 1 year ago

Hmm, tried but nmap n j does not work. I don't think there's a better way than remapping for actions.