Simple text editing with Vim
Make the pairs of lines match up by making each second line same as first
Start file
Make the pairs of lines match up by making each second line same as first: # Appending text: The name "Vim" is an acronym for "Vi IMproved" The name "Vim" is an acronym for # Editing text: Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga # Deleting text: Vim has a vi compatibility mode Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi
End file
Make the pairs of lines match up by making each second line same as first: # Appending text: The name "Vim" is an acronym for "Vi IMproved" The name "Vim" is an acronym for "Vi IMproved" # Editing text: Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga # Deleting text: Vim has a vi compatibility mode Vim has a vi compatibility mode
View Diff
5c5 < The name "Vim" is an acronym for --- > The name "Vim" is an acronym for "Vi IMproved" 9c9 < Trivia: Vim is a text editor released by Bram Moolenaar in 1991 for the Amiga --- > Vim is a text editor originally released by Bram Moolenaar in 1991 for the Amiga 13c13 < Vim has a vi compatibility mode but when not in this mode Vim has many enhancements over vi --- > Vim has a vi compatibility mode
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 3666 remaining solutions by signing in and submitting your own entry
#3667 M. C. / @mczerkawski - Score: 918 - 12/29/10 @ 09:07
k<Down><Down><Down><Right><Right><Right><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right> <Left><Up><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i<Right> "Vi IMproved"<Down><Down><Down><Down><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><Up><Right><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Down><Left><BS><BS><BS><BS><BS><BS><BS><Del><Down><Down><Down><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Down><Esc><Right><Down><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Del><Up><Up><Up><Up><Left><Left><Left><Left><Left><Left><Left><Left><Left>o<BS><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>i<BS>originally <Right><Right><Right><Right><Esc>:w<CR>:wq<CR>
0 comments