I use a completely remapped layout to match the traditional qwerty action position over a bépo layout.
Lately, using NVIM v0.4.3
, my binding to map the %
to =
(format auto) ceased to work. This is very strange as all other binding seems to work fine, and actually if I run noremap % =
at run time, everything comes back at the expected behaviour. Before manual intervention, a session will act like this:
:noremap %
o % <Plug>(MatchitOperationForward)
x % <Plug>(MatchitVisualForward)
n % <Plug>(MatchitNormalForward)
s % * =
More information about my configuration
cat ~/.config/nvim/init.vim
source ~/.config/vim/general
cat ~/.config/vim/general
source ~/.config/vim/mapleader
source ~/.config/vim/paths
source ~/.config/vim/browse
source ~/.config/vim/indent-policy
source ~/.config/vim/rendering
source ~/.config/vim/save-policy
source ~/.config/vim/buffers
source ~/.config/vim/filetype
source ~/.config/vim/bépo
tail ~/.config/vim/bépo
noremap 4 $
noremap 5 %
noremap 6 ^
noremap 7 &
noremap 8 *
noremap 9 (
noremap 0 )
noremap ° _
noremap ` +
noremap % =
As you can see, as far as my custom configuration noremap % =
is the last instruction and shouldn't be overwritten by something else as I don't have any after/ftplugin
in my personal vim directories.
What am I missing?
let g:loaded_matchit = 1
– Matt May 2 '20 at 15:12