diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-04-08 12:55:09 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-04-08 12:55:09 +0200 |
commit | bc662c982a35e25af77eafd6fe718fc8a4ce5191 (patch) | |
tree | 3152b072a185889daaa0de3ebf47b29578d9ad2f /neovim | |
parent | 2dd30850c5ef24e1af45619aaa4fb7da31707c73 (diff) | |
download | dotfiles-bc662c982a35e25af77eafd6fe718fc8a4ce5191.tar.gz dotfiles-bc662c982a35e25af77eafd6fe718fc8a4ce5191.tar.bz2 dotfiles-bc662c982a35e25af77eafd6fe718fc8a4ce5191.zip |
nvim: modernize Ag to Rg
I usually use ripgrep anyway.
Diffstat (limited to 'neovim')
-rw-r--r-- | neovim/.config/nvim/init.vim | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 1dbc2d6..1f5e149 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -65,7 +65,7 @@ Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' " Code and files fuzzy finder -Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' Plug 'neomake/neomake' @@ -99,10 +99,6 @@ Plug 'jeetsukumaran/vim-indentwise' Plug 'sheerun/vim-polyglot' let g:polyglot_disabled = ['latex'] -" Ack code search (requires ack installed in the system) -Plug 'mileszs/ack.vim' -" TODO is there a way to prevent the progress which hides the editor? - " Paint css colors with the real color Plug 'lilydjwg/colorizer' " TODO is there a better option for neovim? @@ -329,8 +325,8 @@ let NERDTreeIgnore = ['\.pyc$', '\.pyo$'] nmap ,e :Files<CR> " buffer search nmap ,b :Buffers<CR> -" Ag search -nmap ,a :Ag<CR> +" Ripgrep search +nmap ,a :Rg<CR> " tags (symbols) in current file finder mapping nmap ,g :BTag<CR> " tags (symbols) in all files finder mapping @@ -356,12 +352,6 @@ nmap ,c :Commands<CR> "nmap ,wc :call CtrlPWithSearchText(expand('<cword>'), 'CmdPalette')<CR> -" Ack.vim ------------------------------ - -" mappings -nmap ,r :Ack -nmap ,wr :Ack <cword><CR> - " Window Chooser ------------------------------ " mapping |