diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-10-07 23:19:27 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-10-07 23:19:27 -0700 |
commit | 399f5c13722c13faec7443432a741767d7acc898 (patch) | |
tree | fde8b68a852cc37b513d7737e1d93c57b464a797 | |
parent | 857ba192061823823b93675ea21739ffa3e09509 (diff) | |
download | mu-399f5c13722c13faec7443432a741767d7acc898.tar.gz |
4673
To search for instructions in .subx files, just run `:G 8b.*copy` inside Vim without any quotes.
-rw-r--r-- | vimrc.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc.vim b/vimrc.vim index 93a63f57..f76396da 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -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>) |