:args `rg Neovim -l`
:argdo %s/Neovim/Nvim/ge | update
:'<,'>:s/\%V[ :]/-/g
:%:normal @h
https://vim.fandom.com/wiki/Search_and_replace_in_a_visual_selection
Without plugins, by vim way:
:!sav new.name
to write current file with a new name and immediately open this file.
:!rm <c-r>#
to remove previously opened file (your file old.name in this case). Without this command it will be still on the disk. Note that <c-r>#
is actually what you should press, not a command. It should insert filename into rm command: :!rm old.name
.