Using the following card
:map r<> :%s/<>/β/g<CR>
you can press r<> , which will replace all occurrences of <> with β in the current buffer.
The map (or rather the substitution that is called with it) will give you error E486 if the template is not found. If you do not want such an error, you will want to specify the e flag with the substitution command:
:map r<> :%s/<>/β/ge<CR>
You can put one of these mappings in your .vimrc file.
source share