From 742a1be178cae837ed6f4412ad6b990f7a6066ae Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 25 Sep 2020 11:57:21 +0900 Subject: Update .vimrc: use my forked version of vim-ripgrep --- .vimrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 0934775..5407f30 100644 --- a/.vimrc +++ b/.vimrc @@ -493,8 +493,6 @@ Plug 'thinca/vim-quickrun' " R {{{2 " Extend dot-repeat. Plug 'tpope/vim-repeat' -" Integration with ripgrep, fast alternative of grep command. -Plug 'jremmen/vim-ripgrep' " Rust the programming language. Plug 'rust-lang/rust.vim' @@ -568,6 +566,10 @@ Plug 'LeafCage/yankround.vim' " Mine {{{2 Plug g:MY_ENV.my_dir +" Fork version of jremmen/vim-ripgrep +" Integration with ripgrep, fast alternative of grep command. +Plug 'nsfisis/vim-ripgrep' + call plug#end() @@ -1564,10 +1566,11 @@ call repeat#setreg('', '') " Workaround: do not open quickfix window. " exe g:rg_window_location 'copen' let g:rg_window_location = 'silent! echo' +let g:rg_jump_to_first = 1 -command! -nargs=* -complete=file -bar +command! -bang -nargs=* -complete=file -bar \ RG - \ Rg + \ Rg " rust {{{2 -- cgit v1.2.3-70-g09d2