Sunday, April 27, 2014

vim

  •   vim command examples
    
Go to the 143rd line of file

$ vim +143 filename.txt
Go to the first match of the specified
$ vim +/search-term filename.txt
Open the file in read only mode.
$ vim -R /etc/passwd
 
 
 
 

0 comments:

Post a Comment