How do I un-join(?) or add trailing whitespace with indentation?
With this code,,,
import { amethod, methodb, methodc } from '../../utils/mockData';
how do you make this
import {
amethod,
methodb,
methodc
} from '../../utils/mockData';
I mean how can I do it fast?
What I do is to
- go to the first method.
- press Enter
- go to the end of the method..
- press Enter...
- go to the second method. 6.... ...
It's so slow with VIM. Can we do this fast in VIM?
f<space>
. to jump to the spaces. Continue jumping using;
. When you are on a space that you would like to be a linebreak, pressr<Enter>
. Continue – Christian Brabandt Oct 14 '20 at 6:58.
to repeat the last change, and use it after the firstr<Enter>
-- so it becomes;.
for the subsequent changes. – Sakari Cajanus Oct 14 '20 at 9:53