I have a code segment as shown below.
type Account struct {
Id int
UserId int
Name string
Address string
City string
State string
CountryId string
}
I want to delete all data types. Is there a keyboard shortcut?
I tried <C-V>and selected the first letter of all data types in a vertical line, hoping d + $to work on the message, but vim only accepts the first input dand removes the first letter.
source
share