How do I write a vim function that calls VimGrep? -


मैं एक फ़ंक्शन myFunc लिखना चाहता हूँ जैसे:

  myFunc / function foo / < / Code> 

हो जाता है

 : vimgrep / function foo / ** / *। Cpp ** / *। Hpp  

  myFunc / class बार: सार्वजनिक /  

हो जाता है

  vimgrep / class बार: सार्वजनिक / ** /  

धन्यवाद!

 : कमांड -nargs = 1 MyFunc vimgrep & lt; args & gt; ** / *। सीपीपी ** / *। एचपीपी: मायफंक / हैलो वर्ल्ड /  

Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -