4673
To search for instructions in .subx files, just run `:G 8b.*copy` inside Vim without any quotes.
This commit is contained in:
parent
857ba19206
commit
399f5c1372
|
@ -78,6 +78,6 @@ endfunction
|
|||
function! GrepSubX(regex)
|
||||
" https://github.com/mtth/scratch.vim
|
||||
Scratch!
|
||||
silent exec "r !grep -h ".shellescape(a:regex)." *.subx */*.subx"
|
||||
silent exec "r !grep -h '".a:regex."' *.subx */*.subx"
|
||||
endfunction
|
||||
command! -nargs=1 G call GrepSubX(<args>)
|
||||
command! -nargs=1 G call GrepSubX(<q-args>)
|
||||
|
|
Loading…
Reference in New Issue