This is really noob question. There is set of vim commands
: command1 : command2
etc., which I would neet to type in in a raw quite often. How to I make it automatic? It is simple regexp replace command set, however I cannot script those in sed, since it involves non-latin locales and for some reason vim handles non-latin regexps correctly, while sed not.
Why not put them in a function, then call the function ?