vim grepper
This commit is contained in:
parent
0711548d64
commit
6703bcdaa7
3 changed files with 6 additions and 0 deletions
|
@ -6,5 +6,7 @@ Several tools can find configs by setting the fish variable below:
|
|||
|
||||
```bash
|
||||
set -Ux XDG_CONFIG_HOME {location_of_dotfiles}
|
||||
sudo pacman -S ripgrep
|
||||
sudo pacman -S sed
|
||||
```
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
* `<Leader>{tilde}` Open file browser
|
||||
* `<Leader>ff` Fuzzy find files in git project
|
||||
* `<Leader>gg` Grep searches in git project
|
||||
|
||||
### Registers
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
|
|||
|
||||
Plug 'nvim-lua/popup.nvim'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(GrepperOperator)'] }
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
Plug 'BurntSushi/ripgrep'
|
||||
|
||||
|
@ -178,3 +179,5 @@ let g:startify_custom_header = [
|
|||
\ ]
|
||||
let g:startify_change_to_dir = 0
|
||||
|
||||
"" grepper
|
||||
nnoremap <leader>gg <cmd>Grepper<cr>
|
||||
|
|
Loading…
Add table
Reference in a new issue