Guest User

Untitled

a guest
Aug 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. How to paste the results of a :g/foo/p search at the end of the file ?
  2. :g/foo/p
  3.  
  4. :echo IndexByWord(['word1', 'word2', 'word3', etc])
  5.  
  6. :h split(
  7.  
  8. '$'
  9.  
  10. :redi @"
  11. :g/foo/p
  12. :redi END
  13. :$pu
Add Comment
Please, Sign In to add comment