Hi all - I've been running into Vim issue all day and it's starting to get to me, so I thought I'd ask my fave vimthusiasts.
I've been splitting up long lists of arguments into multiple lines. Example:
I have this:
blah(a: "a", b: "b", c: "c", d: "d")
I want it to look like this:
blah (
a: "a"
b: "b"
c: "c"
d: "d"
)
Right now, this is what I am doing (in vim) to change each line:
- use w to skip to next word
- press i to enter insert mode
- press h to go one space to the left
- press enter to move word to the next line
If I do not do the "h" step, an extra white space is added to the end of the original line.
This seems like WAY too many steps to do something this simple. What Would a Vim Enthusiast Do?