Add the following code to /etc/vimrc if we want to highlight the characters that go beyond column 80.
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+
Open the document in vim, press v and move to select text and then press one of the following:
U - converts to upper case u - converts to lower case ~ - toggles the case of selected
ggVGureplace u with U for uppercase and ~ to toggle.
:let @a=1 | %s/<old_word>/\='<new_word>'.(@a+setreg('a',@a+1))/g