Vim: Open the file

1, open the file and locate a row

vim +20 vendor / laravel / framework / src / Illuminate / Support / Facades / Facade.php # positioned to line 20

2, open the file, navigate to the last row

vim + vendor / laravel / framework / src / Illuminate / Support / Facades / Facade.php # line is positioned to the end

3, Open File, navigate to the beginning of the line for the first time to the line matching PATTERN

+ Vim / function of the line of the first row www / _inc / lib / class.requestor.php # positioned to contain the string 'function' of

Guess you like

Origin www.cnblogs.com/x00479/p/11313256.html