How do you select from cursor to end of line in visual mode?
Answer
v$
Explanation
Press v to enter character-wise visual mode, then $ to extend selection to the end of the line (excluding the newline).
v$
Press v to enter character-wise visual mode, then $ to extend selection to the end of the line (excluding the newline).