I am using the “:s” substitute command in a mapping. When a search…
…for a pattern fails, the map terminates. I would like the map to continue processing the next command, even if the substitute command fails. How do I do this?
You can use the ‘e’ flag to the substitute command to continue processing other commands in a map, when a pattern is not found.
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE