I have a list of data to which I need to put a \' symbol at the start of the line and at the end of the line. So the original data looks like this:
\'
You can use the Alt + Shift shortcut.
First press Alt + Shift then click the mouse button on the first line.
Go to the last line, and then do the same.
This will mark all the parts of one side. Whatever you type will be reflected in the marked spaces.
Do the same on the other side too.