Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

put char at beginning of multiple lines vim

Press Esc to enter 'command mode'
Use Ctrl+V to enter visual block mode
Move Up/Downto select the columns of text in the lines you want to comment.
Then hit Shift+i and type the text you want to insert.
Then hit Esc, wait 1 second and the inserted text will appear on every line.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #put #char #beginning #multiple #lines #vim
ADD COMMENT
Topic
Name
3+1 =