Vim and macro recording with slash
Lets say, that I've editing text "foo" in Vim (pure version 7.2, without plugins or .vimrc), and recording macro, to transform "foo" into "<h2>foo</h2>". To do that, I press "qa", then I've got message "recording" at bottom Vim's window. After editing, I press once again "q" to stop recording. When I enter in vim ":@a" to play macro, there's error "E488: Trailing characters i<h2></h2>". The reason is, I think, that there's slash in macro, but it means, that there's no way to record macro with simple HTML text (without any plugins, like surround.vim).
Is there any solution for this?
|