Home » » vim command examples

vim command examples

Written By MANOJ J on Friday 26 July 2013 | 08:11


  • Go to the 143rd line of file

        eg:  $ vim +120 filename.txt

  • Go to the first match of the specified

        eg:  $vim +/search-term filename.txt


  • Open the file in read only mode

        eg:  $ vim -R /etc/passwd


Share this article :

Post a Comment

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2013. test3 - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger