Added vim-grepper for git grep
This commit is contained in:
parent
d9d9e898e5
commit
799a4fd415
3 changed files with 7 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -25,3 +25,6 @@
|
|||
[submodule "pack/plugins/start/i3config.vim"]
|
||||
path = pack/plugins/start/i3config.vim
|
||||
url = https://github.com/mboughaba/i3config.vim.git
|
||||
[submodule "pack/plugins/start/vim-grepper"]
|
||||
path = pack/plugins/start/vim-grepper
|
||||
url = https://github.com/mhinz/vim-grepper.git
|
||||
|
|
3
init.vim
3
init.vim
|
@ -67,6 +67,9 @@ noremap <F2> :let @/ = ""<CR>
|
|||
" Use "," as leader
|
||||
let mapleader = ","
|
||||
|
||||
" Git grep with Leader g
|
||||
nnoremap <Leader>g :Grepper -tool git<CR>
|
||||
|
||||
" Switch between Windows with: Leader w
|
||||
nnoremap <Leader>w <C-w><C-w>
|
||||
|
||||
|
|
1
pack/plugins/start/vim-grepper
Submodule
1
pack/plugins/start/vim-grepper
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9b62e6bdd9de9fe027363bbde68e9e32d937cfa0
|
Reference in a new issue