Execute ( SpaceVim plugin: flygrep ): edit Makefile let g:_spacevim_input_list = ["\", 'C', 'O', 'V', 'I', 'M', 'E', 'R', 'A', 'G', 'E', "\"] let g:_spacevim_input_timeout = 400 exe 'call SpaceVim#plugins#flygrep#open(' \ . '{"input" : expand(""), "files": bufname("%")}' \ . ')' let g:_spacevim_input_timeout = 0 let lnr = 0 for line in readfile('Makefile') let lnr += 1 if line =~# 'COVIMERAGE' break endif endfor AssertEqual lnr, 4 unlet lnr line