Re: Using substitute to replace current word
> if you want with :s/// try:Thanks Mikolaj,
> exe "normal :s/" .s:str. "/" .newword. "/e\<cr>"
I didn't realise you could concatenate an exe command like this but I
see now that's exactly what is outlined under :h exe ;-)