From 9b440c4289e995c4df8831479f4e6c3dcb1fd577 Mon Sep 17 00:00:00 2001 From: rayylee Date: Tue, 23 Mar 2021 14:30:22 +0800 Subject: [PATCH] vimrc: noremap fa to Ag for ag.vim --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index 58ea629..b80454d 100644 --- a/vimrc +++ b/vimrc @@ -78,6 +78,10 @@ nmap + :bd let g:ctrlp_working_path_mode = 'wa' let g:ctrlp_match_window = 'min:1,max:15,results:100' +" ag.vim +let g:ag_prg = "rg --column -e" +noremap fa :=printf("Ag \"%s\"", expand("")) + " indentLine let g:indentLine_enable = 1 let g:indentLine_char = '¦'