BUG FIX – iMac Terminal Shell to Linux2023 and the vi (vim) editor places the characters pp at the top of the file.
Fix vim editor pp characters
Editing is huge so we can;t work with these kinds of mistakes. /usr/share/vim is now using vim92. We edit the top of the file /etc/vimrc….
cd /etc
vi vimrc
if has('termguicolors')
autocmd VimEnter * ++once set termguicolors. | redraw
endif
Then use vi test and you will not see the pp characters.

Disclaimer:
This content is provided as reference only and reflects practical experience at the time of writing. Technology and best practices change, so examples may require modification. No warranty is provided. Always test configurations on a development system before using them in production.
