Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim command to select all text in file

:%d             -> delete every line
:%y             -> yank every line
:%normal! >>    -> indent every line
Source by vi.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #vim #command #select #text #file
ADD COMMENT
Topic
Name
1+2 =