{"id":44,"description":"vim - search patterns using vimgrep","tags":["vim","productivity","editor","programming"],"contents":[":vimgrep /{pattern}/[g][j] {filenames} - search pattern in given files and update quicklist (aka error list)","    - {pattern} follows vim regex pattern","    - g - return all matches","    - j - update quick list only. do not jump to the first match.","    vimgrep loads the file into memory, so can be slow for large files",":cn - go to next match in the quick list",":cp - go to previous match in the quick list",":cc n - go to nth match in the quick list",":clist [from] [to] - list all errors that are valid",":copen - open a window to show list of errors"]}
