From bacae0a23d319cdaca7f20e1f10da1fb558c2dfb Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sat, 28 Mar 2020 10:25:23 +0530 Subject: [PATCH] nvim: Use ag as any jump preferred search engine While I would ideally like to use rg, it seems any jump does or cannot use rg for some reasons for certain languages like Haskell. This can be seen from the language map in any jump repo. So set preferred engine as ag for now. Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 7dc7369..ac86fe8 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -706,7 +706,8 @@ let g:floaterm_winblend = 0 let g:floaterm_borderchars = ['─', '│', '─', '│', '╭', '╮', '╯', '╰'] " Any jump -let g:any_jump_disable_default_keybindings = v:true +let g:any_jump_disable_default_keybindings = 1 +let g:any_jump_search_prefered_engine = 'ag' " Lens vim let g:lens#disabled_filetypes = ['nerdtree', 'fzf', 'qf']