Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Grep in gvim

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    san diego

    Grep in gvim

    I am using gvim on Windows. When I use grep to search for some string (eg: grep ASSERT *.c), only the first result is being displayed on the screen. I have to do :cnext to go to the next match. Is there a way through which I can see all the grep results on the screen and jump to the match I am interested in?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Is there a reason you're using grep? Just type '/[search_expression]' and it'll take you to the first match, then press 'n' until you hit the match you want. gvim in Windows works almost identically to the vim in Linux.
    Linux user #126863 - see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts