How do you use a macro to wrap CSV fields in quotes?
qaf,i"<Esc>la"<Esc>q
Record a macro that finds the next comma, inserts a quote before it, moves past the comma, and inserts a quote after.
qaf,i"<Esc>la"<Esc>q
Record a macro that finds the next comma, inserts a quote before it, moves past the comma, and inserts a quote after.
qaf'r"q
Record a macro that finds the next single quote with f' and replaces it with a double quote using r".