Open deafwood opened 7 years ago
@deafwood Exactly how do you type the command in ex-mode command line, like this? %s/'a,'bs/^/\\/\\//
After marking the first ('a) and last ('b) lines, I enter the following command: 'a,'bs/^/\\/\\//
Something similar that produces the same error, but works in vim (v7.4):
:%s/:\/\/bar/:\/\/foo.bar/g
Dear all, I also have the same problem. For example:
:1,2s/^/\/\//
puts // at the beginning of lines 1 and 2 in vim.
In atom with Ex-mode, this throws the error: "Command error. Trailing characters"
I frequently run the following command in vi:
'a,'bs/^/\\/\\//
to insert a comment notation "//" at the beginning of a block of lines but am unable to do this. I get an error that says "Command error: trailing characters".Please advise if there is a work around, thanks!