diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-07-08 13:31:01 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2022-07-08 13:31:01 +0200 |
commit | ac488197c3d4bf4792a1c0c25f9080d15270bb5b (patch) | |
tree | 6b2d3c25bb82ec232392621962810fc612babcc4 | |
parent | 2e8959db8e143228bfdb79e0cb077f39282a3a14 (diff) |
.vimrc: add Ggr command to open git grep in quickfix
Source: https://stackoverflow.com/questions/21931116/getting-git-grep-to-work-effectively-in-vim
-rw-r--r-- | .vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -213,3 +213,6 @@ Plug 'junegunn/fzf.vim' call plug#end() " }}} +" {{{ commands +:command -nargs=+ Ggr execute 'silent Ggrep!' <q-args> | cw | redraw!" +" }}} |