diff --git a/README.md b/README.md index 4118e5a..68038d9 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/nvim/help.md b/nvim/help.md index ab38a92..7635f3d 100644 --- a/nvim/help.md +++ b/nvim/help.md @@ -25,6 +25,7 @@ * `{tilde}` Open file browser * `ff` Fuzzy find files in git project +* `gg` Grep searches in git project ### Registers diff --git a/nvim/init.vim b/nvim/init.vim index 0ea5786..987c841 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -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', '(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 gg Grepper