Search and replace umlaute with a shortcut in VIM



notes for Search and replace umlaute with a shortcut in VIM:

copy this in .gvimrc

map <F4> :s/ae/ä/g\|'<,'>s/oe/ö/g\|'<,'>s/ue/ü/g<CR><CR>

usage

v to select text, then press f4 example: But you'll have to escape it in the map command :map <F3> :%s!<!\&lt;!g\|:%s!>!\&gt;!g<CR>



Tags:
Published: December, 2014