Split line with dots
This line is too long, split it.
Start file
class VimGolf def split_me MyModel.first_method.second_method(arg).third_method(arg.method_one.method_two) end end
End file
class VimGolf def split_me MyModel .first_method .second_method(arg) .third_method(arg.method_one.method_two) end end
View Diff
3c3,6 < MyModel.first_method.second_method(arg).third_method(arg.method_one.method_two) --- > MyModel > .first_method > .second_method(arg) > .third_method(arg.method_one.method_two)
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 633 remaining solutions by signing in and submitting your own entry
#634 Rohan / @themathgeek13 - Score: 100 - 06/12/20 @ 01:40
<Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left><Left><Left>i<CR><BS><BS><BS><BS><BS> <Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left><BS>d<CR><BS><BS><BS><BS><BS> <Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Left><CR><BS><BS><BS><BS><BS> <Esc>:wq!<CR>
0 comments