I performed following command
:'<,'>s/2/digit/g
on the code below manually visually selected:
return _.round(this.getTotalAbs(), 2).toFixed(2);
And it worked as intended
return _.round(this.getTotalAbs(), digit).toFixed(digit);
Now I want to repeat the same substitute command on another code snippet manually selected via visual selection mode, with one keystroke(if possible).
:'<,
and then up arrow. It will show the previous substitute. Are you okay with any mappings?