How do you select multiple lines in vi?
Answer
Place your cursor anywhere on the first or last line of the text you want to manipulate. Press Shift+V to enter line mode. The words VISUAL LINE will appear at the bottom of the screen.
Use navigation commands, such as the Arrow keys, to highlight multiple lines of text.
Answer
Place your cursor anywhere on the first or last line of the text you want to manipulate. Press Shift+V to enter line mode. The words VISUAL LINE will appear at the bottom of the screen.
Use navigation commands, such as the Arrow keys, to highlight multiple lines of text.