Preferably without multi-cursor plugin
Originally asked as question on reddit by kpthunder: https://www.reddit.com/r/vim/comments/9fvsro/what_is_the_most_efficient_way_to_go_about/
Start file
newState.set('foo', foo); newState.set('bar', bar); newState.set('banana', banana); newState.set('bears', bears);
End file
state.foo = payload.foo; state.bar = payload.bar; state.banana = payload.banana; state.bears = payload.bears;
View Diff
1,4c1,4 < newState.set('foo', foo); < newState.set('bar', bar); < newState.set('banana', banana); < newState.set('bears', bears); --- > state.foo = payload.foo; > state.bar = payload.bar; > state.banana = payload.banana; > state.bears = payload.bears;
Solutions by @anooplive:
Unlock 1 remaining solutions by signing in and submitting your own entry