I have those setting in .vimrc
setlocal textwidth=0 wrap formatoptions=tc2n linebreak noremap <buffer> j gj noremap <buffer> k gk noremap <buffer> $ g$ noremap <buffer> ^ g^ noremap <buffer> 0 g0 nnoremap <buffer> dd g0vg$D nnoremap <buffer> D g0vg$D nnoremap I g^i nnoremap A g$BEa nnoremap V g0vg$
But I found
g$ stop at the last character including space in vim, where in vscode-neovim, using the same .vimrc,
g$ will stop at the last non-blank character.
How to get the same
g$ behavior in vim? Or, how to jump to last non-black character in vim? so that I don't have to map
g$BEa, since it sometimes don't jump to the location I want, if the last character is